mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Fix Boost 1.55 build
This commit is contained in:
parent
0e3a86e145
commit
18ac683bbc
1 changed files with 4 additions and 2 deletions
|
@ -118,8 +118,10 @@ 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=)"
|
||||
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=)";
|
||||
fi;
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_LINK = stdenv.lib.optionalString stdenv.isDarwin
|
||||
|
|
Loading…
Reference in a new issue