libcap-ng-python installs into the ABI-less ${libdir}/pythonX.Y
directory, even if Python free-threading is enabled.

Move it to the correct location.

Signed-off-by: Zoltán Böszörményi <[email protected]>
---
 meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb 
b/meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb
index f13c2eba17..4e01c320fd 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng-python_0.9.1.bb
@@ -12,6 +12,9 @@ EXTRA_OECONF += "--with-python3"
 
 do_install() {
     oe_runmake 'DESTDIR=${D}' install -C ${B}/bindings/python3
+    if [ ! -d ${D}${libdir}/${PYTHON_DIR} ]; then
+        mv ${D}${libdir}/python${PYTHON_BASEVERSION} 
${D}${libdir}/${PYTHON_DIR}
+    fi
 }
 
 FILES:${PN} = "${libdir}/${PYTHON_DIR}"
-- 
2.53.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#234020): 
https://lists.openembedded.org/g/openembedded-core/message/234020
Mute This Topic: https://lists.openembedded.org/mt/118519882/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to