| Message ID | 20260326153210.2245962-3-zboszor@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | Fix some fallouts with Python free-threading enabled | expand |
diff --git a/meta-gnome/recipes-support/libuser/libuser_0.64.bb b/meta-gnome/recipes-support/libuser/libuser_0.64.bb index 64b51e6c97..dbba5877c2 100644 --- a/meta-gnome/recipes-support/libuser/libuser_0.64.bb +++ b/meta-gnome/recipes-support/libuser/libuser_0.64.bb @@ -36,6 +36,12 @@ do_configure:prepend() { cd - } +do_install:append () { + if [ ! -d ${D}${libdir}/${PYTHON_DIR} ]; then + mv ${D}${libdir}/python${PYTHON_BASEVERSION} ${D}${libdir}/${PYTHON_DIR} + fi +} + PACKAGES += "${PN}-python " FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
libuser installs its python module into the ABI-less site-packages directory. Move the installed site-packages directory to the correct location if needed. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --- meta-gnome/recipes-support/libuser/libuser_0.64.bb | 6 ++++++ 1 file changed, 6 insertions(+)