mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
OSX Packaging: Make sure to link libgamepad to the distributed SDL
This commit is contained in:
parent
befa5da671
commit
0e111a62ff
@ -72,8 +72,12 @@ cp -r "/Library/Frameworks/SDL.framework" "${APP}/Contents/Frameworks/"
|
|||||||
|
|
||||||
echo "Changing package identification of SDL"
|
echo "Changing package identification of SDL"
|
||||||
install_name_tool -id \
|
install_name_tool -id \
|
||||||
@executable_path/../Frameworks/SDL.framework/Versions/A/SDL \
|
@executable_path/../Frameworks/SDL.framework/SDL \
|
||||||
"${APP}/Contents/Frameworks/SDL.framework/Versions/A/SDL"
|
"${APP}/Contents/Frameworks/SDL.framework/SDL"
|
||||||
|
install_name_tool -change \
|
||||||
|
@rpath/SDL.framework/Versions/A/SDL \
|
||||||
|
"${APP}/Contents/Frameworks/SDL.framework/SDL" \
|
||||||
|
"${APP}/Contents/Plugins/libsdlgamepad.1.dylib"
|
||||||
|
|
||||||
# deleting unnecessary files
|
# deleting unnecessary files
|
||||||
echo "Deleting unnecessary files"
|
echo "Deleting unnecessary files"
|
||||||
|
Loading…
Reference in New Issue
Block a user