From da975ae27becb222c283a22365afe017e51f1a19 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 25 Feb 2015 20:50:41 +0100 Subject: [PATCH] allow carbon support on 10.6, 32bit --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 8950548457..a96ddcb7cf 100644 --- a/wscript +++ b/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', '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('LINKFLAGS_AUDIOUNITS', ['-framework', 'Carbon']) else: