summaryrefslogtreecommitdiffstats
path: root/src/buildtools/gn.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtools/gn.pro')
-rw-r--r--src/buildtools/gn.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtools/gn.pro b/src/buildtools/gn.pro
index 092888e0..f8f8b20d 100644
--- a/src/buildtools/gn.pro
+++ b/src/buildtools/gn.pro
@@ -14,7 +14,7 @@ defineReplace(buildGn) {
gn_bootstrap = $$system_path($$absolute_path(chromium/tools/gn/bootstrap/bootstrap.py, $$src_3rd_party_dir))
gn_args = $$system_quote($$gn_args)
gn_configure = $$system_quote($$gn_bootstrap) --shadow --gn-gen-args=$$gn_args $$ninja_path
- !system("cd $$system_quote($$system_path($$dirname(out))) && python $$gn_configure") {
+ !system("cd $$system_quote($$system_path($$dirname(out))) && $$pythonPathForSystem() $$gn_configure") {
error("GN build error!")
}
}