mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-29 09:18:36 +00:00
14 lines
413 B
Bash
Executable File
14 lines
413 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PLATFORM=$(uname)
|
|
|
|
if [[ "$PLATFORM" == 'Darwin' ]]; then
|
|
echo "[patch-macos-rpath] patch 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
|
|
fi
|
|
|
|
exit 0 |