This will result in explicitly using the system Python. Otherwise
host-python may be used instead and it may lack support for bz2.

Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de>
---

Can you try if this patch helps?

Michael

 rules/nodejs.make | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/nodejs.make b/rules/nodejs.make
index 0053f0d71dbb..35521227536a 100644
--- a/rules/nodejs.make
+++ b/rules/nodejs.make
@@ -83,7 +83,8 @@ endif
 $(STATEDIR)/nodejs.prepare:
        @$(call targetinfo)
 
-       @$(call world/prepare, NODEJS)
+       @$(call world/execute, NODEJS, \
+               python3 ./configure $(NODEJS_CONF_OPT))
        @mkdir -p $(NODEJS_DIR)/out/Release/
        @ ln -svf $(PTXDIST_SYSROOT_CROSS)/usr/bin/qemu-cross \
                $(NODEJS_DIR)/out/Release/tool-wrapper
-- 
2.39.2


Reply via email to