Merge pull request #319976 from ExpidusOS/fix/pkgsllvm/libbsd
libbsd: fix version script with lld 17+
This commit is contained in:
commit
c7b13a8c00
@ -35,6 +35,9 @@ stdenv.mkDerivation rec {
|
||||
url = "https://gitlab.freedesktop.org/libbsd/libbsd.git";
|
||||
};
|
||||
|
||||
# Fix undefined reference errors with version script under LLVM.
|
||||
configureFlags = lib.optionals (stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17") [ "LDFLAGS=-Wl,--undefined-version" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Common functions found on BSD systems";
|
||||
homepage = "https://libbsd.freedesktop.org/";
|
||||
|
Loading…
Reference in New Issue
Block a user