From: Damiano Galassi <damiog@gmail.com>
Date: Thu, 23 Aug 2018 15:06:54 +0000 (+0200)
Subject: Set the macOS deployment target to 10.10 when building from the cli.
X-Git-Tag: 1.2.0~180
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abe12fe7a7798e2beb04bc73d1437f5b02be5802;p=handbrake

Set the macOS deployment target to 10.10 when building from the cli.
---

diff --git a/macosx/xcconfig/base/os.osx1010.xcconfig b/macosx/xcconfig/base/os.osx1010.xcconfig
new file mode 100644
index 000000000..e6a6a4eb3
--- /dev/null
+++ b/macosx/xcconfig/base/os.osx1010.xcconfig
@@ -0,0 +1 @@
+MACOSX_DEPLOYMENT_TARGET = 10.10
diff --git a/macosx/xcconfig/osx1010.i386.xcconfig b/macosx/xcconfig/osx1010.i386.xcconfig
new file mode 100644
index 000000000..beb8e3335
--- /dev/null
+++ b/macosx/xcconfig/osx1010.i386.xcconfig
@@ -0,0 +1,3 @@
+#include "base/os.osx1010.xcconfig"
+#include "base/arch.i386.xcconfig"
+EXTERNAL_XCCONFIG = osx1010.i386
diff --git a/macosx/xcconfig/osx1010.x86_64.xcconfig b/macosx/xcconfig/osx1010.x86_64.xcconfig
new file mode 100644
index 000000000..5f17649c5
--- /dev/null
+++ b/macosx/xcconfig/osx1010.x86_64.xcconfig
@@ -0,0 +1,3 @@
+#include "base/os.osx1010.xcconfig"
+#include "base/arch.x86_64.xcconfig"
+EXTERNAL_XCCONFIG = osx1010.x86_64
diff --git a/make/variant/darwin.defs b/make/variant/darwin.defs
index 4a08147f1..1e06fb7ad 100644
--- a/make/variant/darwin.defs
+++ b/make/variant/darwin.defs
@@ -1,4 +1,4 @@
-UB.xcconfigs = osx107.i386 osx107.x86_64
+UB.xcconfigs = osx1010.i386 osx1010.x86_64
 UB.builds    = $(wildcard $(foreach n,$(UB.xcconfigs),$(SRC/)build.$n))
 UB.first     = $(word 1,$(UB.xcconfigs))
 UB.more      = $(wordlist 2,999,$(UB.xcconfigs))