Skip to content

Commit

Permalink
darwin hints from blead
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalao authored and Jose Palao committed Aug 29, 2021
1 parent ea19754 commit 250369f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hints/darwin.sh
Expand Up @@ -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.*)
[1-9][0-9].*)
add_macosx_version_min ccflags $MACOSX_DEPLOYMENT_TARGET
add_macosx_version_min ldflags $MACOSX_DEPLOYMENT_TARGET
;;
Expand All @@ -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.*)
[1-9][0-9].*)
add_macosx_version_min ccflags $prodvers
add_macosx_version_min ldflags $prodvers
;;
Expand Down

0 comments on commit 250369f

Please sign in to comment.