as nativepython3 is now a shell wrapper, prevent endless
recursion loops, by just calling python3 instead of nativepython3.
The interpreter setting will still have precedence over the plain
python binary called

Signed-off-by: Konrad Weihmann <kweihm...@outlook.com>
---
 meta/classes-recipe/python_pep517.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/python_pep517.bbclass 
b/meta/classes-recipe/python_pep517.bbclass
index 202dde0bc3..9484d61dec 100644
--- a/meta/classes-recipe/python_pep517.bbclass
+++ b/meta/classes-recipe/python_pep517.bbclass
@@ -48,7 +48,7 @@ python_pep517_do_install () {
         bbfatal More than one wheel found in ${PEP517_WHEEL_PATH}, this should 
not happen
     fi
 
-    nativepython3 -m installer ${INSTALL_WHEEL_COMPILE_BYTECODE} --interpreter 
"${USRBINPATH}/env ${PEP517_INSTALL_PYTHON}" --destdir=${D} 
${PEP517_WHEEL_PATH}/*.whl
+    python3 -m installer ${INSTALL_WHEEL_COMPILE_BYTECODE} --interpreter 
"${USRBINPATH}/env ${PEP517_INSTALL_PYTHON}" --destdir=${D} 
${PEP517_WHEEL_PATH}/*.whl
 }
 
 # A manual do_install that just uses unzip for bootstrapping purposes. Callers 
should DEPEND on unzip-native.
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169682): 
https://lists.openembedded.org/g/openembedded-core/message/169682
Mute This Topic: https://lists.openembedded.org/mt/93189858/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to