mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 23:07:54 +00:00
Merge pull request #219695 from trofi/iproute2-static
pkgsStatic.iproute2: fix build (disable shared libraries)
This commit is contained in:
commit
7f4f8065a8
@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
|
||||
"SBINDIR=$(out)/sbin"
|
||||
"DOCDIR=$(TMPDIR)/share/doc/${pname}" # Don't install docs
|
||||
"HDRDIR=$(dev)/include/iproute2"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isStatic [
|
||||
"SHARED_LIBS=n"
|
||||
# all build .so plugins:
|
||||
"TC_CONFIG_NO_XT=y"
|
||||
];
|
||||
|
||||
buildFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user