mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 20:19:16 +03:00
libselinux: fix version script with lld 17+
This commit is contained in:
parent
d7136b1c84
commit
9c6f292f41
@ -8,7 +8,7 @@ assert enablePython -> swig != null && python3 != null;
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (rec {
|
||||
pname = "libselinux";
|
||||
version = "3.6";
|
||||
inherit (libsepol) se_url;
|
||||
@ -96,4 +96,6 @@ stdenv.mkDerivation rec {
|
||||
meta = removeAttrs libsepol.meta ["outputsToInstall"] // {
|
||||
description = "SELinux core library";
|
||||
};
|
||||
}
|
||||
} // lib.optionalAttrs (stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17") {
|
||||
NIX_LDFLAGS = "--undefined-version";
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user