diff options
| -rw-r--r-- | meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb | 8 |
1 files changed, 3 insertions, 5 deletions
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 | |||
| 23 | 23 | ||
| 24 | export NASMENV = "--reproducible --debug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}" | 24 | export NASMENV = "--reproducible --debug-prefix-map=${WORKDIR}=${TARGET_DBGSRC_DIR}" |
| 25 | 25 | ||
| 26 | # The binaries have RUNPATH=$libdir, which is redundant | ||
| 27 | EXTRA_OECMAKE += "-DCMAKE_SKIP_INSTALL_RPATH=ON" | ||
| 28 | |||
| 26 | # Add nasm-native dependency consistently for all build arches is hard | 29 | # Add nasm-native dependency consistently for all build arches is hard |
| 27 | EXTRA_OECMAKE:append:class-native = " -DWITH_SIMD=False" | 30 | EXTRA_OECMAKE:append:class-native = " -DWITH_SIMD=False" |
| 28 | EXTRA_OECMAKE:append:class-nativesdk = " -DWITH_SIMD=False" | 31 | EXTRA_OECMAKE:append:class-nativesdk = " -DWITH_SIMD=False" |
| @@ -52,9 +55,4 @@ FILES:jpeg-tools = "${bindir}/*" | |||
| 52 | DESCRIPTION:libturbojpeg = "A SIMD-accelerated JPEG codec which provides only TurboJPEG APIs" | 55 | DESCRIPTION:libturbojpeg = "A SIMD-accelerated JPEG codec which provides only TurboJPEG APIs" |
| 53 | FILES:libturbojpeg = "${libdir}/libturbojpeg.so.*" | 56 | FILES:libturbojpeg = "${libdir}/libturbojpeg.so.*" |
| 54 | 57 | ||
| 55 | do_install:append() { | ||
| 56 | # The binaries have RUNPATH=$libdir, which is redundant | ||
| 57 | chrpath -d ${D}/${bindir}/* ${D}${libdir}/*${SOLIBS} | ||
| 58 | } | ||
| 59 | |||
| 60 | BBCLASSEXTEND = "native nativesdk" | 58 | BBCLASSEXTEND = "native nativesdk" |
