Skip to content

Commit 3290734

Browse files
committed
pkgsStatic.iproute2: fix build (disable shared libraries)
1 parent a1240f6 commit 3290734

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkgs/os-specific/linux/iproute/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ stdenv.mkDerivation rec {
3939
"SBINDIR=$(out)/sbin"
4040
"DOCDIR=$(TMPDIR)/share/doc/${pname}" # Don't install docs
4141
"HDRDIR=$(dev)/include/iproute2"
42+
] ++ lib.optionals stdenv.hostPlatform.isStatic [
43+
"SHARED_LIBS=n"
44+
# all build .so plugins:
45+
"TC_CONFIG_NO_XT=y"
4246
];
4347

4448
buildFlags = [

0 commit comments

Comments
 (0)