libtirpc: fix undefined reference in version script with llvm bintools
This commit is contained in:
parent
d30faab98e
commit
fb5d5c81ea
@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
|
||||
sed -es"|/etc/netconfig|$out/etc/netconfig|g" -i doc/Makefile.in tirpc/netconfig.h
|
||||
'';
|
||||
|
||||
configureFlags = lib.optional (
|
||||
stdenv.cc.bintools.isLLVM && lib.versionAtLeast stdenv.cc.bintools.version "17"
|
||||
) "LDFLAGS=-Wl,--undefined-version";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preInstall = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user