13
0

wscript fix for wavesaudio backend - use correct name for CoreM[iI][dD][iI] framework on Lion and other versions

This commit is contained in:
Paul Davis 2014-06-25 08:29:23 -04:00
parent d5ef8f5f1e
commit 9b7b5fc9bc

View File

@ -31,8 +31,11 @@ def build(bld):
else:
obj = bld(features = 'c cxx cxxshlib')
if bld.env['build_target'] == 'mountain_lion' or bld.env['build_target'] == 'snowleopard':
obj.framework = 'CoreMidi'
if sys.platform == 'darwin':
if bld.env['build_target'] not in [ 'lion' ]:
obj.framework = 'CoreMidi'
else:
obj.framework = 'CoreMIDI'
obj.source = [
'waves_audiobackend.cc',