boost: correct the install names for darwin
This also makes the recent change for ledger unnecessary.
This commit is contained in:
@@ -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 ]
|
||||
|
||||
Reference in New Issue
Block a user