macOS: use ld_classic as workaround for linker issue with XCode 15

XCode 15 (on Ventura and Sonoma) has a linker issue, see https://github.com/mesonbuild/meson/issues/12282, workaround is to use ld_classic
master
Willi Mutschler 2023-10-11 15:43:15 +02:00
parent 3c20b9862b
commit 586c8dbfae
No known key found for this signature in database
GPG Key ID: 91E724BF17A73F6D
1 changed files with 4 additions and 0 deletions

View File

@ -4,3 +4,7 @@
cpp = '/usr/local/bin/g++-13'
flex = '/usr/local/opt/flex/bin/flex'
bison = '/usr/local/opt/bison/bin/bison'
[built-in options]
# XCode 15 (on Ventura and Sonoma) has a linker issue, see https://github.com/mesonbuild/meson/issues/12282, workaround is to use ld_classic
cpp_link_args = [ '-Wl,-ld_classic' ]