Merge pull request #305408 from obsidiansystems/fix-freebsd

llvmPackages.libcxx: Fix FreeBSD build
This commit is contained in:
Weijia Wang 2024-04-20 09:52:24 +02:00 committed by GitHub
commit b03c372902
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ stdenv.mkDerivation (rec {
# libc++.so.1 and libc++abi.so or the external cxxabi. ld-wrapper doesn't
# support linker scripts so the external cxxabi needs to be symlinked in
postInstall = lib.optionalString (cxxabi != null) ''
lndir ${lib.getDev cxxabi}/include $out/include/c++/v1
lndir ${lib.getDev cxxabi}/include $dev/include/c++/v1
lndir ${lib.getLib cxxabi}/lib $out/lib
'';