From d9066c728ffdd4b0dcb1fec9ec8c0af55a2dbd37 Mon Sep 17 00:00:00 2001 From: tmator Date: Fri, 9 Oct 2009 04:47:36 +0000 Subject: [PATCH] fix osx wx29 build git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4389 8ced0084-cf51-0410-be5f-012b33b47a6e --- SConstruct | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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')