Merge pull request #116023 from dramforever/radvd-ar-fix

radvd: Fix ar not found when cross-compiling
This commit is contained in:
Jörg Thalheim 2021-03-12 15:02:04 +00:00 committed by GitHub
commit d7bae4c438
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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