mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
Merge pull request #306285 from Mic92/iproute2
iproute2: fix static build
This commit is contained in:
commit
564a9656b0
@ -50,7 +50,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ]; # netem requires $HOSTCC
|
||||
nativeBuildInputs = [ bison flex pkg-config ];
|
||||
buildInputs = [ db iptables elfutils libmnl ];
|
||||
buildInputs = [ db iptables libmnl ]
|
||||
# needed to uploaded bpf programs
|
||||
++ lib.optionals (!stdenv.hostPlatform.isStatic) [ elfutils ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user