Merge pull request #116348 from Mindavi/dnsmasq/cross-compilation-fix
dnsmasq: fix cross-compilation
This commit is contained in:
commit
87dfa0433a
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, dbus, nettle, fetchpatch
|
{ lib, stdenv, fetchurl, pkg-config, dbus, nettle, fetchpatch
|
||||||
, libidn, libnetfilter_conntrack }:
|
, libidn, libnetfilter_conntrack, buildPackages }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
"BINDIR=$(out)/bin"
|
"BINDIR=$(out)/bin"
|
||||||
"MANDIR=$(out)/man"
|
"MANDIR=$(out)/man"
|
||||||
"LOCALEDIR=$(out)/share/locale"
|
"LOCALEDIR=$(out)/share/locale"
|
||||||
|
"PKG_CONFIG=${buildPackages.pkg-config}/bin/${buildPackages.pkg-config.targetPrefix}pkg-config"
|
||||||
];
|
];
|
||||||
|
|
||||||
hardeningEnable = [ "pie" ];
|
hardeningEnable = [ "pie" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user