| Message ID | 20260326153210.2245962-7-zboszor@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | Fix some fallouts with Python free-threading enabled | expand |
diff --git a/meta-oe/recipes-support/opencv/opencv_4.13.0.bb b/meta-oe/recipes-support/opencv/opencv_4.13.0.bb index 70ff7b2c4b..206159876d 100644 --- a/meta-oe/recipes-support/opencv/opencv_4.13.0.bb +++ b/meta-oe/recipes-support/opencv/opencv_4.13.0.bb @@ -224,6 +224,10 @@ do_install:append() { # mesa-demos /usr/bin/shape file. mv ${D}/${bindir}/shape ${D}/${bindir}/opencv_shape fi + + if [ ! -d ${D}${libdir}/${PYTHON_DIR} ]; then + mv ${D}${libdir}/python${PYTHON_BASEVERSION} ${D}${libdir}/${PYTHON_DIR} + fi } do_install:append:class-target() {
opencv 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-oe/recipes-support/opencv/opencv_4.13.0.bb | 4 ++++ 1 file changed, 4 insertions(+)