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
path: root/tools
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2006-11-24 09:08:05 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-11-24 09:08:05 +0300
commit48b07b4822ef96e2389ab4369a1c180471230369 (patch)
tree5ecf1975e753acc82f4dde741c3d78a1fda098ec /tools
parent9f5713df2f16905c6ae96299df1c517b83aaa486 (diff)
==SCons==
* link against debug library of python on win32
Diffstat (limited to 'tools')
-rw-r--r--tools/Blender.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index 104f258fddc..a578139bdb8 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -137,11 +137,15 @@ def setup_staticlibs(lenv):
def setup_syslibs(lenv):
syslibs = [
- lenv['BF_PYTHON_LIB'],
+
lenv['BF_JPEG_LIB'],
lenv['BF_PNG_LIB'],
lenv['BF_ZLIB_LIB']
]
+ if lenv['BF_DEBUG'] and lenv['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
+ syslibs.append(lenv['BF_PYTHON_LIB']+'_d')
+ else:
+ syslibs.append(lenv['BF_PYTHON_LIB'])
if lenv['WITH_BF_INTERNATIONAL']:
syslibs += Split(lenv['BF_FREETYPE_LIB'])
syslibs += Split(lenv['BF_GETTEXT_LIB'])