From ae1133e17414e3f3af86010e7c3c307f40d8c7ca Mon Sep 17 00:00:00 2001 From: Dmitriy Makhnin Date: Thu, 13 Mar 2025 17:14:33 +0300 Subject: waf-samba: using python variable from python3native.bbclass Waf-samba.bbclass inherits python3native.bbclass which has the variable PYTHON="${STAGING_BINDIR_NATIVE}/python3-native/python3". This allows this variable to be used in do_compile instead of python3. Signed-off-by: Dmitry Makhnin Signed-off-by: Khem Raj --- meta-networking/classes/waf-samba.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-networking') diff --git a/meta-networking/classes/waf-samba.bbclass b/meta-networking/classes/waf-samba.bbclass index 79acacc989..cb78ce6b0d 100644 --- a/meta-networking/classes/waf-samba.bbclass +++ b/meta-networking/classes/waf-samba.bbclass @@ -113,7 +113,7 @@ do_configure() { do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+" do_compile () { - python3 ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)} + $PYTHON ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)} } do_install() { -- cgit v1.2.3-54-g00ecf