some more mingw x-compile fixes

This commit is contained in:
Robin Gareus
2014-03-04 18:53:43 +01:00
parent 912f07b919
commit 1c839ed541
2 changed files with 4 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ def configure(conf):
conf.load('misc')
conf.load('compiler_cxx')
autowaf.configure(conf)
if conf.env['WINDOWS_VST_SUPPORT'] == True and bld.env['build_target'] == 'mingw':
if conf.env['WINDOWS_VST_SUPPORT'] == True and Options.options.dist_target == 'mingw':
conf.check(compiler='cxx',
lib='gdi32',
mandatory=True,