Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for macOS 10.15, 10.16 and 11.0 #43

Merged
merged 1 commit into from
Aug 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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