Skip to content

Commit c44ac01

Browse files
committed
fix deployment mac boost libs
1 parent e5d59c3 commit c44ac01

File tree

2 files changed

+86
-65
lines changed

2 files changed

+86
-65
lines changed

contrib/macdeploy/fix_boost.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
fullpath=$(pwd)/$1
3+
echo $fullpath
4+
cp /usr/local/opt/boost/lib/libboost_system-mt.dylib $fullpath/Contents/Frameworks/
5+
install_name_tool -change @loader_path/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib $fullpath/Contents/Frameworks/libboost_thread-mt.dylib
6+
install_name_tool -change @loader_path/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib $fullpath/Contents/Frameworks/libboost_chrono-mt.dylib
7+
install_name_tool -change @loader_path/libboost_system.dylib @executable_path/../Frameworks/libboost_system.dylib $fullpath/Contents/Frameworks/libboost_filesystem.dylib

0 commit comments

Comments
 (0)