diff options
| -rw-r--r-- | meta-oe/recipes-support/opencv/opencv_4.5.0.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_4.5.0.bb b/meta-oe/recipes-support/opencv/opencv_4.5.0.bb index b223334a58..5263ffc03b 100644 --- a/meta-oe/recipes-support/opencv/opencv_4.5.0.bb +++ b/meta-oe/recipes-support/opencv/opencv_4.5.0.bb | |||
| @@ -213,6 +213,11 @@ do_install_append() { | |||
| 213 | mv ${D}/usr/lib/* ${D}/${libdir}/ | 213 | mv ${D}/usr/lib/* ${D}/${libdir}/ |
| 214 | rm -rf ${D}/usr/lib | 214 | rm -rf ${D}/usr/lib |
| 215 | fi | 215 | fi |
| 216 | # remove build host path to improve reproducibility | ||
| 217 | if [ -f ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake ]; then | ||
| 218 | sed -e 's@${STAGING_DIR_HOST}@@g' \ | ||
| 219 | -i ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake | ||
| 220 | fi | ||
| 216 | } | 221 | } |
| 217 | 222 | ||
| 218 | TOOLCHAIN = "gcc" | 223 | TOOLCHAIN = "gcc" |
