[OE-core] [PATCH] ninja: use Python 3
Ross Burton
ross.burton at intel.com
Thu Jul 11 23:54:23 UTC 2019
As part of the mission to remove the use of Python 2, explicitly bootstrap Ninja
with Python 3.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/ninja/ninja_1.9.0.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/ninja/ninja_1.9.0.bb b/meta/recipes-devtools/ninja/ninja_1.9.0.bb
index 1b063289614..f1236e8ac82 100644
--- a/meta/recipes-devtools/ninja/ninja_1.9.0.bb
+++ b/meta/recipes-devtools/ninja/ninja_1.9.0.bb
@@ -17,11 +17,11 @@ S = "${WORKDIR}/git"
do_configure[noexec] = "1"
do_compile_class-native() {
- ./configure.py --bootstrap
+ python3 ./configure.py --bootstrap
}
do_compile() {
- ./configure.py
+ python3 ./configure.py
ninja
}
--
2.20.1
More information about the Openembedded-core
mailing list