summaryrefslogtreecommitdiffstats
path: root/src/buildtools/ninja.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtools/ninja.pro')
-rw-r--r--src/buildtools/ninja.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtools/ninja.pro b/src/buildtools/ninja.pro
index c391d6e8..0a01f1f4 100644
--- a/src/buildtools/ninja.pro
+++ b/src/buildtools/ninja.pro
@@ -8,7 +8,7 @@ defineReplace(buildNinja) {
mkpath($$dirname(out))
src_3rd_party_dir = $$absolute_path("$${getChromiumSrcDir()}/../", "$$QTWEBENGINE_ROOT")
ninja_configure = $$system_quote($$system_path($$absolute_path(ninja/configure.py, $$src_3rd_party_dir)))
- !system("cd $$system_quote($$system_path($$dirname(out))) && python $$ninja_configure --bootstrap") {
+ !system("cd $$system_quote($$system_path($$dirname(out))) && $$pythonPathForSystem() $$ninja_configure --bootstrap") {
error("NINJA build error!")
}
}