Fix build on El Capitan
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 1 Mar 2016 17:04:58 +0000 (12:04 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 1 Mar 2016 17:20:59 +0000 (12:20 -0500)
In which Apple once again changed the name of the MIDI kit from CoreMidi to CoreMIDI, something
they did for the Lion release of OS X

libs/backends/coreaudio/wscript

index 8030af2be868650b68b3dc1bf488c69348f4c314..8dc0300b3baee2aab56efc0d25090c6c363bcd72 100644 (file)
@@ -31,7 +31,7 @@ def build(bld):
     obj.use      = 'libardour libpbd'
     obj.uselib   = 'GLIBMM XML'
     obj.framework = [ 'CoreAudio', 'AudioToolbox', 'CoreServices' ]
-    if bld.env['build_target'] not in [ 'lion' ] and (not bld.env['build_arch'] == "ppc"):
+    if bld.env['build_target'] not in [ 'lion', 'el_capitan' ] and (not bld.env['build_arch'] == "ppc"):
         obj.framework += [ 'CoreMidi' ]
     else:
         obj.framework += [ 'CoreMIDI' ]