Merge pull request #116023 from dramforever/radvd-ar-fix
radvd: Fix ar not found when cross-compiling
This commit is contained in:
commit
d7bae4c438
|
@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ pkg-config bison flex check ];
|
nativeBuildInputs = [ pkg-config bison flex check ];
|
||||||
buildInputs = [ libdaemon ];
|
buildInputs = [ libdaemon ];
|
||||||
|
|
||||||
|
# Needed for cross-compilation
|
||||||
|
makeFlags = [
|
||||||
|
"AR=${stdenv.cc.targetPrefix}ar"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://www.litech.org/radvd/";
|
homepage = "http://www.litech.org/radvd/";
|
||||||
description = "IPv6 Router Advertisement Daemon";
|
description = "IPv6 Router Advertisement Daemon";
|
||||||
|
|
Loading…
Reference in a new issue