projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10787c6
)
Set Mac OS X deployment target to 10.9
author
Kyle Fleming
<garthex@gmail.com>
Sun, 16 Apr 2017 21:39:26 +0000
(14:39 -0700)
committer
Kyle Fleming
<garthex@gmail.com>
Sun, 16 Apr 2017 21:39:26 +0000
(14:39 -0700)
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
patch
|
blob
|
history
diff --git
a/platforms/osx/build_framework.py
b/platforms/osx/build_framework.py
index
64e73c5
..
6e23931
100644
(file)
--- 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",