llvmPackages.libunwind: add fake libgcc (#330037)
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
python3,
|
||||
libcxx,
|
||||
enableShared ? !stdenv.hostPlatform.isStatic,
|
||||
doFakeLibgcc ? stdenv.hostPlatform.useLLVM,
|
||||
devExtraCmakeFlags ? [ ],
|
||||
getVersionFile,
|
||||
}:
|
||||
@@ -105,6 +106,10 @@ stdenv.mkDerivation (
|
||||
''
|
||||
+ lib.optionalString (enableShared && stdenv.hostPlatform.isWindows) ''
|
||||
ln -s $out/lib/libunwind.dll.a $out/lib/libunwind_shared.dll.a
|
||||
''
|
||||
+ lib.optionalString (doFakeLibgcc) ''
|
||||
ln -s $out/lib/libunwind.so $out/lib/libgcc_s.so
|
||||
ln -s $out/lib/libunwind.so $out/lib/libgcc_s.so.1
|
||||
'';
|
||||
|
||||
meta = llvm_meta // {
|
||||
|
||||
Reference in New Issue
Block a user