Changes for MacOS. Can be compiled, but there are still some issues.
This commit is contained in:
+4
-2
@@ -12,12 +12,14 @@
|
||||
|
||||
QT_FW_PATH="/Library/Frameworks"
|
||||
SDL_FW_PATH="/Library/Frameworks"
|
||||
APPLICATION="./bin/pokerth.app"
|
||||
APPLICATION="./pokerth.app"
|
||||
BINARY="$APPLICATION/Contents/MacOs/pokerth"
|
||||
RESOURCES="$APPLICATION/Contents/Resources/"
|
||||
|
||||
# strip binary
|
||||
strip $BINARY
|
||||
|
||||
cp -R ./data $RESOURCES
|
||||
# create framework-path
|
||||
BINARY_FW_PATH="$APPLICATION/Contents/Frameworks"
|
||||
mkdir $BINARY_FW_PATH
|
||||
@@ -45,4 +47,4 @@ if [ "$1" != "--without-qt" ] ; then
|
||||
QTCORE_LINK=$(otool -L $BINARY_FW_PATH/$QTGUI | grep QtCore | cut -d"(" -f1 | cut -f2)
|
||||
install_name_tool -change $QTCORE_LINK @executable_path/../Frameworks/$QTCORE $BINARY_FW_PATH/$QTGUI
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user