More rpath patching updates.

This commit is contained in:
casey langen 2022-12-03 16:48:36 -08:00
parent 783aedf665
commit c33265ec49
3 changed files with 11 additions and 5 deletions

View File

@ -73,7 +73,8 @@ else
make ${JOBS} || exit $?
fi
./script/patch-vendor-libraries.sh || exit $?
./script/patch-linux-rpath.sh || exit $?
./script/patch-macos-rpath.sh || exit $?
rm -rf dist/$VERSION/*${OS_ARCH}_$VERSION* 2> /dev/null

View File

View File

@ -1,7 +1,12 @@
#!/bin/sh
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
PLATFORM=$(uname)
if [[ "$PLATFORM" == 'Darwin' ]]; then
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
fi
exit 0