diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb b/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb index 56bab4daca..a1d7d57fb5 100644 --- a/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb +++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb @@ -23,6 +23,9 @@ inherit cmake pkgconfig github-releases export NASMENV = "--reproducible --debug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}" +# The binaries have RUNPATH=$libdir, which is redundant +EXTRA_OECMAKE += "-DCMAKE_SKIP_INSTALL_RPATH=ON" + # Add nasm-native dependency consistently for all build arches is hard EXTRA_OECMAKE:append:class-native = " -DWITH_SIMD=False" EXTRA_OECMAKE:append:class-nativesdk = " -DWITH_SIMD=False" @@ -52,9 +55,4 @@ FILES:jpeg-tools = "${bindir}/*" DESCRIPTION:libturbojpeg = "A SIMD-accelerated JPEG codec which provides only TurboJPEG APIs" FILES:libturbojpeg = "${libdir}/libturbojpeg.so.*" -do_install:append() { - # The binaries have RUNPATH=$libdir, which is redundant - chrpath -d ${D}/${bindir}/* ${D}${libdir}/*${SOLIBS} -} - BBCLASSEXTEND = "native nativesdk"