This is an automated email from the ASF dual-hosted git repository.

jim pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8735cda  Be SDK 11.0 aware for macOS builds and Xcode 12.2 (and Big 
Sur)
8735cda is described below

commit 8735cda6074f5bcfac7360d2e276d4bc71c00bf3
Author: Jim Jagielski <[email protected]>
AuthorDate: Fri Nov 13 09:50:42 2020 -0500

    Be SDK 11.0 aware for macOS builds and Xcode 12.2 (and Big Sur)
---
 main/configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/main/configure.ac b/main/configure.ac
index efaa80e..b18a268 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -3943,7 +3943,12 @@ if test  "$_os" = "Darwin"; then
       MACOSX_DEPLOYMENT_TARGET=$sdk_target
 
       dnl Why not MacOSX10.9.sdk? It lacks Python.h (!?)
+      dnl First look for macOS10.x SDKs (Up thru Xcode 12.1)
       sdk_found=`xcodebuild -showsdks | $EGREP "sdk 
macosx10.(7|8|10|11|12|13|14|15)" | sed -e "s/.*sdk //" | tail -n1`
+      dnl If not found, look for macOS11.x SDKs (Xcode 12.2 and later)
+      if test -z "$sdk_found"; then
+         sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx11.(0)" | sed -e 
"s/.*sdk //" | tail -n1`
+      fi
       if test -z "$sdk_found"; then
          AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found])
       else

Reply via email to