Use the debug option for conf.CheckWXConfig on OS X as on Unix.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6085 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2010-08-10 08:30:04 +00:00
parent db072e1986
commit 1afcf4cc69
2 changed files with 9 additions and 10 deletions

View File

@ -150,7 +150,7 @@ def CheckWXConfigPosix(context, version, debug):
# use `wx-config --debug` if it's in its help
helpoutput = SystemWXConfig(context.env,'--help')[1]
if helpoutput.find('--debug') != -1:
context.Message('--debug')
context.Message('--debug ')
if SystemWXConfig(context.env,'--debug --libs')[0] == 0:
context.env['wxconfig'] = context.env['wxconfig'] +' --debug'
return CheckWXConfigVersion(context, version)