summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorBastiaanOlij <mux213@gmail.com>2016-11-25 00:55:13 +1100
committerBastiaanOlij <mux213@gmail.com>2016-11-25 00:55:13 +1100
commitda5651fbb9a52ae98775ca5631e160c9d7fd157e (patch)
tree8fd411acfa1a71000f26ff10afa2a07213e63c82 /platform/osx
parentf18470c199ae79cc7a1e6e952780fb0899b74c8e (diff)
Set minimum version to 10.9 building OSX
Diffstat (limited to 'platform/osx')
-rw-r--r--platform/osx/detect.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py
index 9191f1aabc..ccd86177ab 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'])