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>2008-10-02 10:11:47 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2008-10-02 10:11:47 +0400
commit59eaf36f975115ddf048a36b0cdca49deed17df6 (patch)
treec2c9038a7f91091cb06571c94a0789c59fa4ea7a /tools
parent3659b390bf028ed08621dea16e10a534fdaaafd8 (diff)
* make sure we link against proper openmp library when using msvc
* return error code from makensis process instead of 0
Diffstat (limited to 'tools')
-rw-r--r--tools/Blender.py5
-rwxr-xr-xtools/btools.py2
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index 8f565174b0e..47bc5e9fa72 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -165,7 +165,10 @@ def setup_syslibs(lenv):
if not lenv['WITH_BF_STATICOPENAL']:
syslibs += Split(lenv['BF_OPENAL_LIB'])
if lenv['WITH_BF_OPENMP'] and lenv['CC'] != 'icc':
- syslibs += ['gomp']
+ if lenv['CC'] == 'cl.exe':
+ syslibs += ['vcomp']
+ else:
+ syslibs += ['gomp']
if lenv['WITH_BF_ICONV']:
syslibs += Split(lenv['BF_ICONV_LIB'])
if lenv['WITH_BF_OPENEXR']:
diff --git a/tools/btools.py b/tools/btools.py
index 8fb38646432..f094cfbd550 100755
--- a/tools/btools.py
+++ b/tools/btools.py
@@ -531,5 +531,5 @@ def NSIS_Installer(target=None, source=None, env=None):
data, err = proc.communicate()
rv = proc.wait()
- return 0
+ return err