On Thu, Jul 11, 2019 at 4:55 PM Ross Burton <[email protected]> wrote:
>
> As part of the mission to remove the use of Python 2, explicitly bootstrap 
> Ninja
> with Python 3.
>
> Signed-off-by: Ross Burton <[email protected]>
> ---
>  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

Maybe we should encode it in interpreter section inside configure.py
itself and upstream it.

>         ninja
>  }
>
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to