Skip to content

Commit

Permalink
fix deployment mac boost libs
Browse files Browse the repository at this point in the history
  • Loading branch information
p0ns committed Jan 14, 2018
1 parent e5d59c3 commit c44ac01
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 65 deletions.
7 changes: 7 additions & 0 deletions contrib/macdeploy/fix_boost.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
fullpath=$(pwd)/$1
echo $fullpath
cp /usr/local/opt/boost/lib/libboost_system-mt.dylib $fullpath/Contents/Frameworks/
install_name_tool -change @loader_path/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib $fullpath/Contents/Frameworks/libboost_thread-mt.dylib
install_name_tool -change @loader_path/libboost_system-mt.dylib @executable_path/../Frameworks/libboost_system-mt.dylib $fullpath/Contents/Frameworks/libboost_chrono-mt.dylib
install_name_tool -change @loader_path/libboost_system.dylib @executable_path/../Frameworks/libboost_system.dylib $fullpath/Contents/Frameworks/libboost_filesystem.dylib
Loading

0 comments on commit c44ac01

Please sign in to comment.