2023-09-27 12:15:11 +02:00
|
|
|
# Meson native file for compiling under Homebrew for x86_64 architecture
|
2023-07-24 17:30:03 +02:00
|
|
|
|
|
|
|
[binaries]
|
2023-10-11 17:27:14 +02:00
|
|
|
cpp = '/usr/local/bin/g++-13'
|
|
|
|
c = '/usr/local/bin/gcc-13'
|
2023-07-24 17:30:03 +02:00
|
|
|
flex = '/usr/local/opt/flex/bin/flex'
|
|
|
|
bison = '/usr/local/opt/bison/bin/bison'
|
|
|
|
|
|
|
|
[built-in options]
|
|
|
|
cpp_args = [ '-I/usr/local/include', '-B', '/usr/local/lib' ]
|
2023-10-11 00:29:55 +02:00
|
|
|
# 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' ]
|