Use PYTHON_MAINVERSION instead of PYTHON_BASEVERSION because the former is suffixed with PYTHON_ABI for completeness.
This makes the python module to be installed into the correct location when Python free-threading is enabled. Signed-off-by: Zoltán Böszörményi <[email protected]> --- meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb index 9704e2d15e..acde62a493 100644 --- a/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb +++ b/meta-networking/recipes-support/ntpsec/ntpsec_1.2.4.bb @@ -50,8 +50,8 @@ CC[unexport] = "1" CFLAGS[unexport] = "1" LDFLAGS[unexport] = "1" -export PYTHON_VERSION = "${PYTHON_BASEVERSION}" -export PYTAG = "cpython${@ d.getVar('PYTHON_BASEVERSION').replace('.', '')}" +export PYTHON_VERSION = "${PYTHON_MAINVERSION}" +export PYTAG = "cpython${@ d.getVar('PYTHON_MAINVERSION').replace('.', '')}" export pyext_PATTERN = "%s.so" export PYTHON_LDFLAGS = "-lpthread -ldl" -- 2.53.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#125754): https://lists.openembedded.org/g/openembedded-devel/message/125754 Mute This Topic: https://lists.openembedded.org/mt/118520415/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
