Merge pull request #219695 from trofi/iproute2-static

pkgsStatic.iproute2: fix build (disable shared libraries)
This commit is contained in:
Sergei Trofimovich 2023-03-09 19:10:27 +00:00 committed by GitHub
commit 7f4f8065a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = [