From 5b810721cbb93ef5eb597e71dd8719a44af7d3a6 Mon Sep 17 00:00:00 2001 From: pchote Date: Sat, 20 Feb 2010 21:41:19 +1300 Subject: [PATCH] Fix dist-osx packaging --- packaging/osx/package.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packaging/osx/package.sh b/packaging/osx/package.sh index 818f667b1f..0c997c27da 100755 --- a/packaging/osx/package.sh +++ b/packaging/osx/package.sh @@ -8,10 +8,6 @@ # TODO: This will be significantly shorter once we move the ra files into its mod dir GAME_FILES="OpenRA shaders mods maps packaging/osx/settings.ini FreeSans.ttf FreeSansBold.ttf" -# List of system files to copy into the app bundle -# TODO: Sort out whats going on with libglfw so we don't need to do this -SYSTEM_FILES=libglfw.dylib - # Force 32-bit build and set the pkg-config path for mono.pc export AS="as -arch i386" export CC="gcc -arch i386" @@ -21,8 +17,8 @@ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/Library/Frameworks/Mono.framework/Versi mkbundle --deps --static -z -o openra_server OpenRA.Server.exe OpenRa.FileFormats.dll # Package the game binary -mkbundle --deps --static -z -o OpenRA OpenRa.Game.exe OpenRa.FileFormats.dll thirdparty/Tao/Tao.Glfw.dll thirdparty/Tao/Tao.Cg.dll thirdparty/Tao/Tao.OpenGl.dll thirdparty/Tao/Tao.OpenAl.dll OpenRa.Gl.dll +mkbundle --deps --static -z -o OpenRA OpenRa.Game.exe OpenRa.FileFormats.dll thirdparty/Tao/Tao.Cg.dll thirdparty/Tao/Tao.OpenGl.dll thirdparty/Tao/Tao.OpenAl.dll thirdparty/Tao/Tao.FreeType.dll thirdparty/Tao/Tao.Sdl.dll thirdparty/Tao.Externals.dll thirdparty/ISE.FreeType.dll OpenRa.Gl.dll # Copy everything into our game bundle template cp -R packaging/osx/OpenRA.app . -cp -R $GAME_FILES $SYSTEM_FILES OpenRA.app/Contents/Resources/ +cp -R $GAME_FILES OpenRA.app/Contents/Resources/