llvmPackages.libunwind: condition doFakeLibgcc on !stdenv.hostPlatform.isStatic

Since #380683, broken symlinks prevent the package from building on
pkgsStatic.pkgsLLVM.

So far as I know, isStatic builds don't have shared objects, so don't
emit these broken symlinks for them.

Signed-off-by: Peter Waller <p@pwaller.net>
This commit is contained in:
Peter Waller
2025-06-16 21:23:26 +01:00
parent c2fb8c3811
commit 8f10f4f469
@@ -12,7 +12,7 @@
python3,
libcxx,
enableShared ? !stdenv.hostPlatform.isStatic,
doFakeLibgcc ? stdenv.hostPlatform.useLLVM,
doFakeLibgcc ? stdenv.hostPlatform.useLLVM && !stdenv.hostPlatform.isStatic,
devExtraCmakeFlags ? [ ],
getVersionFile,
}: