Changes for MacOS. Can be compiled, but there are still some issues.

This commit is contained in:
lotodore
2007-11-24 14:04:18 +00:00
parent f935b41ed8
commit 1b53a64fbb
8 changed files with 66 additions and 18 deletions
+4 -2
View File
@@ -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