diff options
-rw-r--r-- | configure.ac | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/configure.ac b/configure.ac index 866d54c27f76..1c5d0eb7a45c 100644 --- a/configure.ac +++ b/configure.ac @@ -3660,18 +3660,12 @@ if test $_os = Darwin; then if test "$my_xcode_ver3" -ge 1205; then AC_MSG_RESULT([yes ($my_xcode_ver2)]) if test $MAC_OS_X_VERSION_MIN_REQUIRED -lt 120000; then - if test "$my_xcode_ver3" -ge 1600; then - dnl the Xcode 15 relnotes state that the classic linker will disappear in the next version, but nothing about - dnl fixing the problem with weak symbols/macOS 11 compatibility, so assume for now that Xcode 16 will break it... - AC_MSG_ERROR([Check that Xcode 16 still supports the old linker/that it doesn't break macOS 11 compatibility, then remove this check]); - fi - if test "$my_xcode_ver3" -ge 1500; then - AC_MSG_WARN([Xcode 15 has a new linker that causes runtime crashes on macOS 11]) - add_warning "Xcode 15 has a new linker that causes runtime crashes on macOS 11, forcing the old linker." - add_warning "see https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking" - LDFLAGS="$LDFLAGS -Wl,-ld_classic" - # if LDFLAGS weren't set already, a check above sets x_LDFLAGS=[#] to comment-out the export LDFLAGS line in config_host.mk - x_LDFLAGS= + if test "$my_xcode_ver3" -eq 1500; then + dnl the bug was aleady fixed on 15.1 and 15.2 still has the same OS requirements as 15.0 + dnl in other words all affected users could update to a working Xcode version + AC_MSG_WARN([Use a current version of XCode or bump the minimum deployment target]) + AC_MSG_WARN([[see https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking]]) + AC_MSG_ERROR([Xcode 15.0 has a bug in the new linker that causes runtime crashes on macOS 11 - aborting]) fi fi else |