These variables are already set in the pyo3.config that is written, so there is no need to also export them.
Apart from PYO3_PYTHON, so set "executable". Signed-off-by: Ross Burton <[email protected]> --- meta/classes-recipe/python_pyo3.bbclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/classes-recipe/python_pyo3.bbclass b/meta/classes-recipe/python_pyo3.bbclass index d2aa188cf07..8854ed80d9b 100644 --- a/meta/classes-recipe/python_pyo3.bbclass +++ b/meta/classes-recipe/python_pyo3.bbclass @@ -12,11 +12,8 @@ inherit cargo python3-dir siteinfo export PYO3_CROSS = "1" -export PYO3_CROSS_PYTHON_VERSION = "${PYTHON_BASEVERSION}" -export PYO3_CROSS_LIB_DIR = "${STAGING_LIBDIR}" export CARGO_BUILD_TARGET = "${RUST_HOST_SYS}" export RUSTFLAGS -export PYO3_PYTHON = "${PYTHON}" export PYO3_CONFIG_FILE = "${WORKDIR}/pyo3.config" python_pyo3_do_configure () { @@ -25,6 +22,7 @@ implementation=CPython version=${PYTHON_BASEVERSION} shared=true abi3=false +executable=${PYTHON} lib_name=${PYTHON_DIR} lib_dir=${STAGING_LIBDIR} pointer_width=${SITEINFO_BITS} -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#245999): https://lists.openembedded.org/g/openembedded-core/message/245999 Mute This Topic: https://lists.openembedded.org/mt/121286364/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
