mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-31 11:13:03 +02:00
path to Frameworks should be relative
This commit is contained in:
parent
68056ffd71
commit
7bfc8d1912
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ if [ -n "$1" ]; then
|
|||
cp "$1/libsteam_api.dylib" "${MESON_INSTALL_PREFIX}/Contents/Frameworks"
|
||||
install_name_tool -change "@loader_path/libsteam_api.dylib" "@executable_path/../Frameworks/libsteam_api.dylib" $EXE
|
||||
install_name_tool -add_rpath "@executable_path/../Frameworks" ${EXE}_rt
|
||||
macpack -d "${MESON_INSTALL_PREFIX}/Contents/Frameworks" ${EXE}_rt
|
||||
macpack -d "../Frameworks" ${EXE}_rt
|
||||
else
|
||||
install_name_tool -add_rpath "@executable_path/../Frameworks" ${EXE}
|
||||
macpack -d "${MESON_INSTALL_PREFIX}/Contents/Frameworks" ${EXE}
|
||||
macpack -d "../Frameworks" ${EXE}
|
||||
fi
|
Loading…
Add table
Reference in a new issue