Skip to content
Snippets Groups Projects
Verified Commit 0a3f4220 authored by Willi Mutschler's avatar Willi Mutschler
Browse files

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
parent 2e3fbfc0
No related branches found
No related tags found
No related merge requests found
# Meson native file for compiling under Homebrew # Meson native file for compiling under Homebrew / x86_64
[binaries] [binaries]
cpp = 'g++-13' cpp = 'g++-13'
...@@ -8,4 +8,8 @@ bison = '/usr/local/opt/bison/bin/bison' ...@@ -8,4 +8,8 @@ bison = '/usr/local/opt/bison/bin/bison'
[built-in options] [built-in options]
cpp_args = [ '-I/usr/local/include', '-B', '/usr/local/lib' ] cpp_args = [ '-I/usr/local/include', '-B', '/usr/local/lib' ]
#fortran_args = [ '-B', '/Users/sebastien/slicot' ] # 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' ]
c_link_args = [ '-Wl,-ld_classic' ]
fortran_link_args = [ '-Wl,-ld_classic' ]
#fortran_args = [ '-B', '/Users/sebastien/slicot' ]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment