From 4de7b45ea6ed291e7ecf74fc17a6facaba0ab8f2 Mon Sep 17 00:00:00 2001 From: def Date: Mon, 2 May 2016 10:31:39 +0200 Subject: [PATCH] Select SDL2.framework instead of SDL.framework on Mac OS X --- scripts/make_release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/make_release.py b/scripts/make_release.py index 69125365a..6829c01a7 100644 --- a/scripts/make_release.py +++ b/scripts/make_release.py @@ -132,8 +132,8 @@ if use_bundle: #shutil.copy("other/icons/Teeworlds.icns", clientbundle_resource_dir) shutil.copy(name+exe_ext, clientbundle_bin_dir) os.system("install_name_tool -change /opt/X11/lib/libfreetype.6.dylib @executable_path/../Frameworks/libfreetype.6.dylib " + binary_path) - os.system("install_name_tool -change /Library/Frameworks/SDL.framework/SDL @executable_path/../Frameworks/SDL.framework/SDL " + binary_path) - os.system("cp -R /Library/Frameworks/SDL.framework " + clientbundle_framework_dir) + os.system("install_name_tool -change /Library/Frameworks/SDL2.framework/SDL2 @executable_path/../Frameworks/SDL2.framework/SDL2 " + binary_path) + os.system("cp -R /Library/Frameworks/SDL2.framework " + clientbundle_framework_dir) os.system("cp /opt/X11/lib/libfreetype.6.dylib " + clientbundle_framework_dir) file(os.path.join(clientbundle_content_dir, "Info.plist"), "w").write("""