* ensure mingw toolset is recognised properly for python debug when doing BF_DEBUG=1
authorNathan Letwory <nathan@letworyinteractive.com>
Tue, 22 Sep 2009 08:57:00 +0000 (08:57 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Tue, 22 Sep 2009 08:57:00 +0000 (08:57 +0000)
tools/Blender.py

index fd6272c7c32d153bdfbe20c66d89f03704cb58cf..1b0573cfda49517f2d04f8a07ecc1708728857f2 100644 (file)
@@ -171,7 +171,7 @@ def setup_syslibs(lenv):
 
        syslibs += Split(lenv['BF_FREETYPE_LIB'])
        if lenv['WITH_BF_PYTHON'] and not lenv['WITH_BF_STATICPYTHON']:
-               if lenv['BF_DEBUG'] and lenv['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
+               if lenv['BF_DEBUG'] and lenv['OURPLATFORM'] in ('win32-vc', 'win64-vc', 'win32-mingw'):
                        syslibs.append(lenv['BF_PYTHON_LIB']+'_d')
                else:
                        syslibs.append(lenv['BF_PYTHON_LIB'])