summaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorPatrick von Reth <vonreth@kde.org>2013-01-12 10:32:45 (GMT)
committerPatrick von Reth <vonreth@kde.org>2013-01-12 10:32:45 (GMT)
commitbea333c22fc46f29c44413a7e5ca3f27d0b476d4 (patch)
tree01d2eeb1c4929217c6edca5d3ecae6b8fd75de4c /bootstrap.py
parent8a4c9e05f794162af46939e078ee6464367cafc9 (diff)
downloadNinja-bea333c22fc46f29c44413a7e5ca3f27d0b476d4.zip
Ninja-bea333c22fc46f29c44413a7e5ca3f27d0b476d4.tar.gz
Ninja-bea333c22fc46f29c44413a7e5ca3f27d0b476d4.tar.bz2
if windows and not msvc, set platform to mingw
Diffstat (limited to 'bootstrap.py')
-rwxr-xr-xbootstrap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.py b/bootstrap.py
index a847df9..331ea0f 100755
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -96,6 +96,7 @@ else:
'-DNINJA_BOOTSTRAP'])
if options.windows:
cflags.append('-D_WIN32_WINNT=0x0501')
+ conf_args.append("--platform=mingw")
if options.x64:
cflags.append('-m64')
args.extend(cflags)