forked from mirrors/nixpkgs
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")"
|
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
|
||||||
|
|
Loading…
Reference in a new issue