diff options
| author | BastiaanOlij | 2016-11-25 00:55:13 +1100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-01-12 19:15:26 +0100 |
| commit | ef009a8b9111a140ddf7fdd28607689e379249c7 (patch) | |
| tree | 8c53289ccb026052fef15be28abf4c40fc09392d | |
| parent | 1a41d3351afaa6593ea5539ce7c0f39624eeb90a (diff) | |
| download | godot-ef009a8b9111a140ddf7fdd28607689e379249c7.tar.gz godot-ef009a8b9111a140ddf7fdd28607689e379249c7.tar.zst godot-ef009a8b9111a140ddf7fdd28607689e379249c7.zip | |
Set minimum version to 10.9 building OSX
(cherry picked from commit da5651fbb9a52ae98775ca5631e160c9d7fd157e)
| -rw-r--r-- | platform/osx/detect.py | 2 | ||||
| -rwxr-xr-x | tools/dist/osx_template.app/Contents/Info.plist | 4 | ||||
| -rwxr-xr-x | tools/dist/osx_tools.app/Contents/Info.plist | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py index 9191f1aab..ccd86177a 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -80,10 +80,12 @@ def configure(env): env.Append(CPPFLAGS=["-DAPPLE_STYLE_KEYS"]) env.Append(CPPFLAGS=['-DUNIX_ENABLED', '-DGLES2_ENABLED', '-DOSX_ENABLED']) + env.Append(CPPFLAGS=["-mmacosx-version-min=10.9"]) env.Append(LIBS=['pthread']) #env.Append(CPPFLAGS=['-F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks', '-isysroot', '/Developer/SDKs/MacOSX10.4u.sdk', '-mmacosx-version-min=10.4']) #env.Append(LINKFLAGS=['-mmacosx-version-min=10.4', '-isysroot', '/Developer/SDKs/MacOSX10.4u.sdk', '-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk']) env.Append(LINKFLAGS=['-framework', 'Cocoa', '-framework', 'Carbon', '-framework', 'OpenGL', '-framework', 'AGL', '-framework', 'AudioUnit', '-lz', '-framework', 'IOKit', '-framework', 'ForceFeedback']) + env.Append(LINKFLAGS=["-mmacosx-version-min=10.9"]) if (env["CXX"] == "clang++"): env.Append(CPPFLAGS=['-DTYPED_METHOD_BIND']) diff --git a/tools/dist/osx_template.app/Contents/Info.plist b/tools/dist/osx_template.app/Contents/Info.plist index 5146c875b..eee787bda 100755 --- a/tools/dist/osx_template.app/Contents/Info.plist +++ b/tools/dist/osx_template.app/Contents/Info.plist @@ -27,11 +27,11 @@ <key>NSHumanReadableCopyright</key> <string>$copyright</string> <key>LSMinimumSystemVersion</key> - <string>10.6.0</string> + <string>10.9.0</string> <key>LSMinimumSystemVersionByArchitecture</key> <dict> <key>x86_64</key> - <string>10.6.0</string> + <string>10.9.0</string> </dict> <key>NSHighResolutionCapable</key> $highres diff --git a/tools/dist/osx_tools.app/Contents/Info.plist b/tools/dist/osx_tools.app/Contents/Info.plist index b5eae6d15..cb3d74265 100755 --- a/tools/dist/osx_tools.app/Contents/Info.plist +++ b/tools/dist/osx_tools.app/Contents/Info.plist @@ -27,11 +27,11 @@ <key>NSHumanReadableCopyright</key> <string>© 2007-2016 Juan Linietsky, Ariel Manzur</string> <key>LSMinimumSystemVersion</key> - <string>10.6.0</string> + <string>10.9.0</string> <key>LSMinimumSystemVersionByArchitecture</key> <dict> <key>x86_64</key> - <string>10.6.0</string> + <string>10.9.0</string> </dict> <key>NSHighResolutionCapable</key> <true/> |
