Correction to Boost RPATH for Darwin systems
This commit is contained in:
parent
cdfb08b9c6
commit
22392d8134
@ -130,7 +130,7 @@ stdenv.mkDerivation {
|
||||
NIX_LDFLAGS="$(echo $NIX_LDFLAGS | sed "s,$out,$lib,g")"
|
||||
if test -f tools/build/src/tools/clang-darwin.jam ; then
|
||||
substituteInPlace tools/build/src/tools/clang-darwin.jam \
|
||||
--replace '$(<[1]:D=)' "$lib/lib/\$(<[1]:D=)";
|
||||
--replace '@rpath/$(<[1]:D=)' "$lib/lib/\$(<[1]:D=)";
|
||||
fi;
|
||||
'' + optionalString (mpi != null) ''
|
||||
cat << EOF > user-config.jam
|
||||
|
Loading…
Reference in New Issue
Block a user