mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
More rpath patching updates.
This commit is contained in:
parent
783aedf665
commit
c33265ec49
@ -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
|
||||
|
||||
|
0
script/patch-vendor-libraries.sh → script/patch-linux-rpath.sh
Normal file → Executable file
0
script/patch-vendor-libraries.sh → script/patch-linux-rpath.sh
Normal file → Executable 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
|
Loading…
Reference in New Issue
Block a user