From da5651fbb9a52ae98775ca5631e160c9d7fd157e Mon Sep 17 00:00:00 2001 From: BastiaanOlij Date: Fri, 25 Nov 2016 00:55:13 +1100 Subject: [PATCH] Set minimum version to 10.9 building OSX --- platform/osx/detect.py | 2 ++ tools/dist/osx_template.app/Contents/Info.plist | 4 ++-- 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 9191f1aabca..ccd86177ab7 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 5146c875bce..eee787bdaf9 100755 --- a/tools/dist/osx_template.app/Contents/Info.plist +++ b/tools/dist/osx_template.app/Contents/Info.plist @@ -27,11 +27,11 @@ NSHumanReadableCopyright $copyright LSMinimumSystemVersion - 10.6.0 + 10.9.0 LSMinimumSystemVersionByArchitecture x86_64 - 10.6.0 + 10.9.0 NSHighResolutionCapable $highres diff --git a/tools/dist/osx_tools.app/Contents/Info.plist b/tools/dist/osx_tools.app/Contents/Info.plist index 2a3e7271335..868bbb071df 100755 --- a/tools/dist/osx_tools.app/Contents/Info.plist +++ b/tools/dist/osx_tools.app/Contents/Info.plist @@ -27,11 +27,11 @@ NSHumanReadableCopyright © 2007-2016 Juan Linietsky, Ariel Manzur LSMinimumSystemVersion - 10.6.0 + 10.9.0 LSMinimumSystemVersionByArchitecture x86_64 - 10.6.0 + 10.9.0 NSHighResolutionCapable