13
0

Fix build on El Capitan

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
This commit is contained in:
Paul Davis 2016-03-01 12:04:58 -05:00
parent 79d9973fa0
commit 5dbfca9953

View 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' ]