boost: fix Darwin cross-compilation

b2 tries to invoke the linker without a prefix, which fails.
This commit is contained in:
Randy Eckenrode
2024-10-10 01:07:02 -04:00
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
''