boost: fix Darwin cross-compilation

b2 tries to invoke the linker without a prefix, which fails.
This commit is contained in:
Randy Eckenrode 2024-05-24 15:22:01 -04:00
parent 90df0c3ed8
commit 6bda1a3ef4
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9

View File

@ -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
''