2017-04-21 21:26:31 +01:00
|
|
|
diff --git a/hints/darwin.sh b/hints/darwin.sh
|
|
|
|
index afadf53..80b7533 100644
|
|
|
|
--- a/hints/darwin.sh
|
|
|
|
+++ b/hints/darwin.sh
|
|
|
|
@@ -329,7 +329,7 @@ EOM
|
|
|
|
# sw_vers output what we want
|
|
|
|
# "ProductVersion: 10.10.5" "10.10"
|
|
|
|
# "ProductVersion: 10.11" "10.11"
|
|
|
|
- prodvers=`sw_vers|awk '/^ProductVersion:/{print $2}'|awk -F. '{print $1"."$2}'`
|
2019-09-22 08:38:09 +01:00
|
|
|
+ prodvers="${MACOSX_DEPLOYMENT_TARGET:-10.12}"
|
2017-04-21 21:26:31 +01:00
|
|
|
case "$prodvers" in
|
|
|
|
10.*)
|
|
|
|
add_macosx_version_min ccflags $prodvers
|