allow carbon support on 10.6, 32bit
This commit is contained in:
parent
7f27d658e1
commit
da975ae27b
2
wscript
2
wscript
@ -797,7 +797,7 @@ def configure(conf):
|
|||||||
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'AudioToolbox', '-framework', 'AudioUnit'])
|
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'AudioToolbox', '-framework', 'AudioUnit'])
|
||||||
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'Cocoa'])
|
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'Cocoa'])
|
||||||
|
|
||||||
if re.search ("^[1-9][0-9]\.", os.uname()[2]) == None and not Options.options.nocarbon:
|
if ( re.search ("^[1-9][0-9]\.", os.uname()[2]) == None or os.uname()[2] == "10" ) and (Options.options.generic or Options.options.ppc) and not Options.options.nocarbon:
|
||||||
conf.env.append_value('CXXFLAGS_AUDIOUNITS', "-DWITH_CARBON")
|
conf.env.append_value('CXXFLAGS_AUDIOUNITS', "-DWITH_CARBON")
|
||||||
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'Carbon'])
|
conf.env.append_value('LINKFLAGS_AUDIOUNITS', ['-framework', 'Carbon'])
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user