macOS /w Xcode 15: force the old linker when targeting macOS 11 or lower
commit3ae831d3ee0e361f6e194f525a2fe0fa6f6968d1
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Wed, 27 Sep 2023 15:17:14 +0000 (27 17:17 +0200)
committerMichael Stahl <michael.stahl@allotropia.de>
Thu, 5 Oct 2023 09:23:55 +0000 (5 11:23 +0200)
tree6222b26083d56ae9527a18becef9d07b6917a8bd
parent9ea71d085ef529cddfa64c2714b8ceee069dc301
macOS /w Xcode 15: force the old linker when targeting macOS 11 or lower

the new linker has problems with weak symbols and causes runtime crashes when
trying to run those builds on older versions of macOS

https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking

they write the classic linker will be removed in a future release, so have it
error out for Xcode 16 for now just in case. The brave soul who tries it out
first will have to disable that AC_MSG_ERROR… (or expliticly set macOS 12 as
min target)

Change-Id: I653e5bce70b3eae0f512be11dc7e07ffc98e9812
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157336
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@neooffice.org>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
(cherry picked from commit 809733714b7501490c5a6fa690d254ec7f9bc8f9)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157540
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
configure.ac