From 88f7c76134c79e0e6e91a6e064f253f85d19e17a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 20 Apr 2015 23:12:35 -0400 Subject: [PATCH] allow coreaudio backend to build on OS X Lion --- libs/backends/coreaudio/wscript | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/backends/coreaudio/wscript b/libs/backends/coreaudio/wscript index 9fcc678050..75bed910df 100644 --- a/libs/backends/coreaudio/wscript +++ b/libs/backends/coreaudio/wscript @@ -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'