Merge pull request #6630 from edolstra/boost-dylib

Remove ${boost}/lib from the RPATH
This commit is contained in:
Eelco Dolstra 2022-06-08 17:55:21 +02:00 committed by GitHub
commit 12e86c0735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -313,6 +313,7 @@
for LIB in $out/lib/*.dylib; do
chmod u+w $LIB
install_name_tool -id $LIB $LIB
install_name_tool -delete_rpath ${boost}/lib/ $LIB || true
done
install_name_tool -change ${boost}/lib/libboost_system.dylib $out/lib/libboost_system.dylib $out/lib/libboost_thread.dylib
''}