summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hartley <git@ahartley.com>2020-07-06 22:59:42 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2020-12-26 15:20:44 +0000
commitfe9da82b1349a888fab7d5e663b9950f25234195 (patch)
tree0d937b54cea93ffab23b4875e979daa1e9aee0e4
parent94c83adc02828a66324f366d5cee0636d726ef5d (diff)
downloadperl-fe9da82b1349a888fab7d5e663b9950f25234195.tar.gz
Add 11.x support for darwin.sh
(cherry picked from commit aadc6422eaec39c22e4b4ce00a1e3ff619c41154)
-rw-r--r--hints/darwin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 0a91bc083c..c0f06de1ca 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -301,7 +301,7 @@ case "$osvers" in # Note: osvers is the kernel version, not the 10.x
# We now use MACOSX_DEPLOYMENT_TARGET, if set, as an override by
# capturing its value and adding it to the flags.
case "$MACOSX_DEPLOYMENT_TARGET" in
- 10.*)
+ 10.* | 11.*)
add_macosx_version_min ccflags $MACOSX_DEPLOYMENT_TARGET
add_macosx_version_min ldflags $MACOSX_DEPLOYMENT_TARGET
;;
@@ -327,7 +327,7 @@ EOM
# "ProductVersion: 10.11" "10.11"
prodvers=`sw_vers|awk '/^ProductVersion:/{print $2}'|awk -F. '{print $1"."$2}'`
case "$prodvers" in
- 10.*)
+ 10.* | 11.*)
add_macosx_version_min ccflags $prodvers
add_macosx_version_min ldflags $prodvers
;;