Skip to content

Commit

Permalink
Merge pull request #43 from claui/macos-versions
Browse files Browse the repository at this point in the history
Add support for macOS 10.15, 10.16 and 11.0
  • Loading branch information
moretension committed Aug 7, 2020
2 parents 707fb66 + 4a1f54f commit e75d439
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ AC_DEFUN([DUTI_CHECK_SDK],
macosx_arches=""
;;
darwin19*)
sdk_path="${sdk_path}/MacOSX.sdk"
macosx_arches="-arch x86_64"
;;
darwin20*)
sdk_path="${sdk_path}/MacOSX.sdk"
macosx_arches="-arch x86_64 -arch arm64"
;;
*)
AC_MSG_ERROR([${host_os} is not a supported system])
esac
Expand Down Expand Up @@ -110,6 +120,14 @@ AC_DEFUN([DUTI_CHECK_DEPLOYMENT_TARGET],
darwin18*)
dep_target="10.14"
;;
darwin19*)
dep_target="10.15"
;;
darwin20*)
dep_target="10.16"
;;
esac
if test -z "$macosx_dep_target"; then
Expand Down

0 comments on commit e75d439

Please sign in to comment.