From 3d52661400baa4ea673a82a58bbfd4bc99138a66 Mon Sep 17 00:00:00 2001 From: Kyle Fleming Date: Sun, 16 Apr 2017 14:39:26 -0700 Subject: [PATCH] Set Mac OS X deployment target to 10.9 Without it set, the build will choose the current OS version as the deployment target. 10.9 is the earliest usable, since that is when OS X introduced libc++. --- platforms/osx/build_framework.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms/osx/build_framework.py b/platforms/osx/build_framework.py index 64e73c5490..6e23931266 100644 --- a/platforms/osx/build_framework.py +++ b/platforms/osx/build_framework.py @@ -18,6 +18,7 @@ class OSXBuilder(Builder): def getBuildCommand(self, archs, target): buildcmd = [ "xcodebuild", + "MACOSX_DEPLOYMENT_TARGET=10.9", "ARCHS=%s" % archs[0], "-sdk", target.lower(), "-configuration", "Release",