From d6e926589547ce2c5fadce92f0881a01fa4d882e Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Mon, 4 Dec 2006 14:32:07 +0000 Subject: ==SCons== * make blender_python understand we're doing a debug build when BF_DEBUG=1. Otherwise we get linking errors with scons/mingw --- source/blender/python/SConscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/python/SConscript') diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript index 9dad89789dd..59fc6746d86 100644 --- a/source/blender/python/SConscript +++ b/source/blender/python/SConscript @@ -10,6 +10,8 @@ incs += ' ' + env['BF_PYTHON_INC'] incs += ' ' + env['BF_OPENGL_INC'] defs = [] +if env['OURPLATFORM'] in ('win32-mingw') and env['BF_DEBUG']: + defs.append('Py_TRACE_REFS') if env['WITH_BF_QUICKTIME']==1: incs += ' ' + env['BF_QUICKTIME_INC'] -- cgit v1.2.3