Merge pull request #320433 from ExpidusOS/fix/pkgsllvm/libnftnl

libnftnl: fix version script with lld 17+
This commit is contained in:
Tristan Ross 2024-06-21 22:33:33 -07:00 committed by GitHub
commit 4f279552c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
hash = "sha256-zurqLNkhR9oZ8To1p/GkvCdn/4l+g45LR5z1S1nHd/Q="; hash = "sha256-zurqLNkhR9oZ8To1p/GkvCdn/4l+g45LR5z1S1nHd/Q=";
}; };
configureFlags = lib.optional (stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17") "LDFLAGS=-Wl,--undefined-version";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ libmnl ]; buildInputs = [ libmnl ];