Merge pull request #306285 from Mic92/iproute2

iproute2: fix static build
This commit is contained in:
lassulus 2024-04-23 22:57:24 +02:00 committed by GitHub
commit 564a9656b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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