gn/gn-always-python3.patch

13 lines
444 B
Diff
Raw Normal View History

2022-11-29 18:38:28 +08:00
diff -Nur a/src/gn/exec_process_unittest.cc b/src/gn/exec_process_unittest.cc
--- a/src/gn/exec_process_unittest.cc 2022-11-25 10:58:41.000000000 +0800
+++ b/src/gn/exec_process_unittest.cc 2022-11-26 14:55:45.715627292 +0800
@@ -33,7 +33,7 @@
args.push_back(L"-c");
args.push_back(base::UTF8ToUTF16(command));
#else
- args.push_back("python");
+ args.push_back("python3");
args.push_back("-c");
args.push_back(command);
#endif