diff --git a/SConstruct b/SConstruct index 45b65623ff..fef7f91753 100644 --- a/SConstruct +++ b/SConstruct @@ -288,7 +288,12 @@ else: env['HAVE_COCOA'] = 0 # handling wx flags CCFLAGS should be created before -wxmods = ['aui', 'adv', 'core', 'base'] +if sys.platform == 'darwin': + if env['osx'] == '64cocoa': + wxmods = ['adv', 'core', 'base'] +else: + wxmods = ['aui', 'adv', 'core', 'base'] + env['USE_WX'] = 0 if env['wxgl']: wxmods.append('gl')