mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
boost: fix Darwin cross-compilation
b2 tries to invoke the linker without a prefix, which fails.
This commit is contained in:
parent
90df0c3ed8
commit
6bda1a3ef4
@ -181,6 +181,8 @@ stdenv.mkDerivation {
|
|||||||
cat << EOF >> user-config.jam
|
cat << EOF >> user-config.jam
|
||||||
using clang-darwin : : ${stdenv.cc.targetPrefix}c++
|
using clang-darwin : : ${stdenv.cc.targetPrefix}c++
|
||||||
: <linkflags>"-rpath $out/lib/"
|
: <linkflags>"-rpath $out/lib/"
|
||||||
|
<archiver>$AR
|
||||||
|
<ranlib>$RANLIB
|
||||||
;
|
;
|
||||||
EOF
|
EOF
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user