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:
authorAntony Riakiotakis <kalast@gmail.com>2012-04-25 15:15:55 +0400
committerAntony Riakiotakis <kalast@gmail.com>2012-04-25 15:15:55 +0400
commit7ac4bd9105b93b621a3cb5715b1fc8bfa22c5867 (patch)
tree58eae30d0917ea8e030119df29fd83d2035e9995 /build_files
parent7669d0e3179b569efb50270207c5555ae5427daa (diff)
Enable building of the installer with MinGW-w64, patch by Caleb Joseph (Dobz) thanks a lot!
Diffstat (limited to 'build_files')
-rw-r--r--build_files/scons/tools/btools.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/build_files/scons/tools/btools.py b/build_files/scons/tools/btools.py
index ca0ac2dd8da..efc80fcd3c5 100644
--- a/build_files/scons/tools/btools.py
+++ b/build_files/scons/tools/btools.py
@@ -665,12 +665,10 @@ def NSIS_Installer(target=None, source=None, env=None):
if env['OURPLATFORM'] not in ('win32-vc', 'win32-mingw', 'win64-vc', 'win64-mingw'):
print "NSIS installer is only available on Windows."
Exit()
- if env['OURPLATFORM'] == 'win32-vc':
+ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw'):
bitness = '32'
- elif env['OURPLATFORM'] == 'win64-vc':
+ elif env['OURPLATFORM'] in ('win64-vc', 'win64-mingw'):
bitness = '64'
- else:
- bitness = '-mingw'
start_dir = os.getcwd()
rel_dir = os.path.join(start_dir,'release','windows','installer')
@@ -762,7 +760,7 @@ def NSIS_Installer(target=None, source=None, env=None):
cmdline = "makensis " + "\""+tmpnsi+"\""
startupinfo = subprocess.STARTUPINFO()
- startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
+ #startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
proc = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, startupinfo=startupinfo, shell = True)
data, err = proc.communicate()