Skip to content

Commit

Permalink
xcode builds call fix-rpaths.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Sep 16, 2024
1 parent 58dd918 commit d8c3c39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion deps/fix-rpaths
Submodule fix-rpaths updated from da7f9a to 68d3ef
21 changes: 1 addition & 20 deletions pkg/mac/fix_dylibs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,5 @@
# Created by Celtic Minstrel on 14-04-17.
#

echo Fixing boost dylib install names...

EXEPATH=@executable_path/../Frameworks
BOEPATH="$BUILT_PRODUCTS_DIR/$EXECUTABLE_PATH"

cd "$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH"

FSPATH=libboost_filesystem*.dylib
SYSPATH=libboost_system*.dylib

echo $FSPATH $SYSPATH

# Update references in the executable file
install_name_tool -change "$SYSPATH" "$EXEPATH/libboost_system.dylib" "$BOEPATH"
install_name_tool -change "$FSPATH" "$EXEPATH/libboost_filesystem.dylib" "$BOEPATH"

# Update references within Boost
install_name_tool -id "$SYSPATH" $SYSPATH
install_name_tool -id "$FSPATH" $FSPATH
install_name_tool -change "$SYSPATH" "$EXEPATH/libboost_system-mt.dylib" $FSPATH

python3 "$SOURCE_ROOT/../../deps/fix-rpaths/fix-rpaths.py" "$BOEPATH"

0 comments on commit d8c3c39

Please sign in to comment.