Drop build-system support for macOS < 10.13 (require C++17)

This commit is contained in:
Robin Gareus 2024-10-18 22:33:52 +02:00
parent bd8525e5f1
commit 99906a2215
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 38 additions and 104 deletions

View file

@ -30,11 +30,6 @@ def build(bld):
obj.install_path = os.path.join(bld.env['LIBDIR'], 'backends')
obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"',
'ARDOURBACKEND_DLL_EXPORTS'
'ARDOURBACKEND_DLL_EXPORTS',
'COREAUDIO_108'
]
# use new coreaudio API (the old one was deprecated in 10.6, yet still works)
# only use with OSX intel 10.6 or later, but for all OSX/PPC (<= 10.6)
if not bld.env['build_target'] in ['panther', 'tiger', 'leopard']:
if not (bld.env['build_target'] == 'snowleopard' and bld.env['build_arch'] == "ppc"):
obj.defines += ['COREAUDIO_108']