From 298773761f3fe660b8dbe26f41419a78096aa3bf Mon Sep 17 00:00:00 2001 From: Adam Jiang Date: Fri, 17 Sep 2021 22:03:03 +0800 Subject: [PATCH] Update osx-universal.m4 This patch adds a new location for searching over and adds versions to 11.3 as well. --- .../src/main/resources/project-template/m4/osx-universal.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hawtjni-maven-plugin/src/main/resources/project-template/m4/osx-universal.m4 b/hawtjni-maven-plugin/src/main/resources/project-template/m4/osx-universal.m4 index d98f6578..2c523183 100644 --- a/hawtjni-maven-plugin/src/main/resources/project-template/m4/osx-universal.m4 +++ b/hawtjni-maven-plugin/src/main/resources/project-template/m4/osx-universal.m4 @@ -53,8 +53,8 @@ AC_DEFUN([WITH_OSX_UNIVERSAL], ],[ OSX_SDKS_DIR="" OSX_VERSION="" - for v in 10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 10.10 10.11 10.12 10.13 10.14 10.15; do - for location in "/Developer/SDKs" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs" ; do + for v in 10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 10.10 10.11 10.12 10.13 10.14 10.15 11.0 11.1 11.3; do + for location in "/Developer/SDKs" "/Library/Developer/CommandLineTools/SDKs" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs" ; do if test -z "${OSX_VERSION}" && test -d "${location}/MacOSX${v}.sdk" ; then OSX_SDKS_DIR="${location}" OSX_VERSION="${v}"