radvd: Add AR to makeFlags for cross-compiling

This commit is contained in:
dramforever 2021-03-12 11:32:46 +08:00
parent 1394179695
commit 416adcf85b

View file

@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config bison flex check ];
buildInputs = [ libdaemon ];
# Needed for cross-compilation
makeFlags = [
"AR=${stdenv.cc.targetPrefix}ar"
];
meta = with lib; {
homepage = "http://www.litech.org/radvd/";
description = "IPv6 Router Advertisement Daemon";