fix mingw build - needs bundle_env_mingw.cc when building with mingw, and that is a build target, not a platform

This commit is contained in:
Paul Davis 2014-05-06 13:14:18 -04:00
parent ad40a9008b
commit fbbf911229

View File

@ -434,7 +434,7 @@ def build(bld):
obj.uselib += ' AUDIOUNITS OSX GTKOSX'
obj.use += ' libappleutility'
obj.source += [ 'cocoacarbon.mm', 'bundle_env_cocoa.cc' ]
elif sys.platform == 'mingw':
elif bld.env['build_target'] == 'mingw':
obj.source += [ 'bundle_env_mingw.cc' ]
else:
obj.source += [ 'bundle_env_linux.cc' ]