3
0
Fork 0
forked from mirrors/nixpkgs

Correction to Boost RPATH for Darwin systems

This commit is contained in:
John Wiegley 2015-10-31 09:35:06 -07:00
parent cdfb08b9c6
commit 22392d8134

View file

@ -130,7 +130,7 @@ stdenv.mkDerivation {
NIX_LDFLAGS="$(echo $NIX_LDFLAGS | sed "s,$out,$lib,g")" NIX_LDFLAGS="$(echo $NIX_LDFLAGS | sed "s,$out,$lib,g")"
if test -f tools/build/src/tools/clang-darwin.jam ; then if test -f tools/build/src/tools/clang-darwin.jam ; then
substituteInPlace tools/build/src/tools/clang-darwin.jam \ substituteInPlace tools/build/src/tools/clang-darwin.jam \
--replace '$(<[1]:D=)' "$lib/lib/\$(<[1]:D=)"; --replace '@rpath/$(<[1]:D=)' "$lib/lib/\$(<[1]:D=)";
fi; fi;
'' + optionalString (mpi != null) '' '' + optionalString (mpi != null) ''
cat << EOF > user-config.jam cat << EOF > user-config.jam