summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/qmake/mkspecs/features/functions.prf6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
index 88a5aad7a..44ed4f9e6 100644
--- a/tools/qmake/mkspecs/features/functions.prf
+++ b/tools/qmake/mkspecs/features/functions.prf
@@ -113,7 +113,11 @@ defineReplace(findOrBuildNinja) {
# If we did not find ninja, then we bootstrap it.
!exists($$out) {
- system("python $$dirname(out)/bootstrap.py")
+ contains(DEFINES, WIN64) {
+ system("python $$dirname(out)/bootstrap.py --x64")
+ } else {
+ system("python $$dirname(out)/bootstrap.py")
+ }
}
return($$out)
}