Merge pull request #116348 from Mindavi/dnsmasq/cross-compilation-fix

dnsmasq: fix cross-compilation
This commit is contained in:
John Ericson 2021-03-15 11:29:40 -04:00 committed by GitHub
commit 87dfa0433a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ];