mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +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
|
||||
using clang-darwin : : ${stdenv.cc.targetPrefix}c++
|
||||
: <linkflags>"-rpath $out/lib/"
|
||||
<archiver>$AR
|
||||
<ranlib>$RANLIB
|
||||
;
|
||||
EOF
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user