summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/backends/coreaudio/wscript7
1 files changed, 6 insertions, 1 deletions
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'