mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed path to look for SDL2 on OS X
This commit is contained in:
parent
3e06b569ce
commit
9ca7651cb1
|
@ -132,7 +132,7 @@ 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/SDL2.framework/SDL2 @executable_path/../Frameworks/SDL2.framework/SDL2 " + binary_path)
|
||||
os.system("install_name_tool -change @rpath/SDL2.framework/Versions/A/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("""
|
||||
|
|
Loading…
Reference in a new issue