mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Use input directory when running install_name_tool. This should hopefully fix the Homebrew build.
This commit is contained in:
parent
a604cc2423
commit
2aa73b3f59
@ -31,11 +31,11 @@ fi
|
||||
|
||||
if [ "$PLATFORM" = 'Darwin' ]; then
|
||||
echo "[patch-rpath] patching macOS binaries..."
|
||||
|
||||
install_name_tool -add_rpath "@executable_path/" bin/musikcube
|
||||
install_name_tool -add_rpath "@executable_path/lib" bin/musikcube
|
||||
install_name_tool -add_rpath "@executable_path/" bin/musikcubed
|
||||
install_name_tool -add_rpath "@executable_path/lib" bin/musikcubed
|
||||
SOURCE_DIR=$1
|
||||
install_name_tool -add_rpath "@executable_path/" $SOURCE_DIR/bin/musikcube
|
||||
install_name_tool -add_rpath "@executable_path/lib" $SOURCE_DIR/bin/musikcube
|
||||
install_name_tool -add_rpath "@executable_path/" $SOURCE_DIR/bin/musikcubed
|
||||
install_name_tool -add_rpath "@executable_path/lib" $SOURCE_DIR/bin/musikcubed
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user