allow coreaudio backend to build on OS X Lion

This commit is contained in:
Paul Davis 2015-04-20 23:12:35 -04:00
parent 5509165935
commit 88f7c76134

View File

@ -29,7 +29,12 @@ def build(bld):
obj.name = 'coreaudio_backend'
obj.target = 'coreaudio_backend'
obj.use = 'libardour libpbd'
obj.framework = [ 'CoreAudio', 'AudioToolbox', 'CoreServices', 'CoreMidi' ]
obj.framework = [ 'CoreAudio', 'AudioToolbox', 'CoreServices' ]
if bld.env['build_target'] not in [ 'lion' ]:
obj.framework += [ 'CoreMidi' ]
else:
obj.framework += [ 'CoreMIDI' ]
obj.install_path = os.path.join(bld.env['LIBDIR'], 'backends')
obj.defines = ['PACKAGE="' + I18N_PACKAGE + '"',
'ARDOURBACKEND_DLL_EXPORTS'