llvmPackages.libcxx: Fix FreeBSD build

ce789e7e35 wasn't quite right, because multiple outputs.
This commit is contained in:
John Ericson 2024-04-19 18:34:05 -04:00
parent 92d295f588
commit ab097e08b7

View File

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