boost: correct the install names for darwin

This also makes the recent change for ledger unnecessary.
This commit is contained in:
John Wiegley
2014-11-04 02:28:03 -06:00
parent 52017df966
commit a4ee94b741
2 changed files with 5 additions and 5 deletions

View File

@@ -118,8 +118,13 @@ stdenv.mkDerivation {
preConfigure = ''
NIX_LDFLAGS="$(echo $NIX_LDFLAGS | sed "s,$out,$lib,g")"
substituteInPlace tools/build/src/tools/clang-darwin.jam \
--replace '$(<[1]:D=)' "$lib/lib/\$(<[1]:D=)"
'';
NIX_CFLAGS_LINK = stdenv.lib.optionalString stdenv.isDarwin
"-headerpad_max_install_names";
enableParallelBuilding = true;
buildInputs = [ icu expat zlib bzip2 python ]