Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2006-12-04 17:32:07 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-12-04 17:32:07 +0300
commitd6e926589547ce2c5fadce92f0881a01fa4d882e (patch)
treee63fbbc2b8c73cdc3701eecb4710f77d8e6642e2 /source/blender/python/SConscript
parent0cc76d831cdd7c58024d480fa64e8a3798afad11 (diff)
==SCons==
* make blender_python understand we're doing a debug build when BF_DEBUG=1. Otherwise we get linking errors with scons/mingw
Diffstat (limited to 'source/blender/python/SConscript')
-rw-r--r--source/blender/python/SConscript2
1 files changed, 2 insertions, 0 deletions
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']