Skip to contentSkip to conversation

waf: Use Python 3 built by the build system

PATCH In review Fabio Berton 2 participants 2 messages Apr 15

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 waf: Use Python 3 built by the build system

From: Fabio Berton <[email protected]>

Inherit python3native bbclass to call waf using Python 3 built by the build system instead of the host Python 3.

---
 meta/classes-recipe/waf.bbclass | 2 ++
 1 file changed, 2 insertions(+)
meta/classes-recipe/waf.bbclass +2 -0
index 01707c8e2c..5077e3aeea 100644
@@ -4,6 +4,8 @@
 # SPDX-License-Identifier: MIT
 #
 
+inherit python3native
+
 # avoids build breaks when using no-static-libs.inc
 DISABLE_STATIC = ""
 
Signature · 1 line
2.43.0
#1 lore raw
Quoted 5 lines · Fabio Berton via lists.openembedded.org

From: Fabio Berton <[email protected]>

Inherit python3native bbclass to call waf using Python 3 built by the build system instead of the host Python 3.

Why?

Ross