Skip to content

Commit

Permalink
boost: fix Darwin cross-compilation
Browse files Browse the repository at this point in the history
b2 tries to invoke the linker without a prefix, which fails.
  • Loading branch information
reckenrode committed Oct 8, 2024
1 parent 69001d4 commit a3bf6f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/libraries/boost/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
''
Expand Down

0 comments on commit a3bf6f7

Please sign in to comment.