tcp-wrappers: Enable cross-compilation

This package, like so many others, assumes that ar is unprefixed.
This commit is contained in:
Ben Gamari 2017-10-29 16:57:54 -04:00 committed by John Ericson
parent edd92f9182
commit 10fa4a571c

View file

@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ libnsl ];
makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" "AR:=$(AR)" ];
installPhase = ''
mkdir -p "$out/bin"