diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-10-08 20:30:56 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-11 12:17:03 +0100 |
| commit | 79ba646b736ceebb68cd96098d10aa59cac4b1d6 (patch) | |
| tree | 375a633560bdb69677974cba2287d5d883fe6d32 | |
| parent | d3f607c70f094755884bcf28b2a6a5d7c61c188f (diff) | |
| download | poky-79ba646b736ceebb68cd96098d10aa59cac4b1d6.tar.gz | |
libjpeg-turbo: remove redundant RUNPATH entries
Our RPATH sanity checks currently don't check RUNPATH (patch incoming),
but the libjpeg objects are built with a RUNPATH set to ${libdir}.
RUNPATH is less of a problem than RPATH (because it is used after the
standard search), but redundant entries are still redundant so lets
remove them anyway.
(From OE-Core rev: 9e95951b36c03016b28787a58e5baf089c864673)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb | 5 |
1 files changed, 5 insertions, 0 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 132d4b375a..4ff4cec721 100644 --- a/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb +++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_3.0.1.bb | |||
| @@ -55,4 +55,9 @@ FILES:jpeg-tools = "${bindir}/*" | |||
| 55 | 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" |
| 56 | FILES:libturbojpeg = "${libdir}/libturbojpeg.so.*" | 56 | FILES:libturbojpeg = "${libdir}/libturbojpeg.so.*" |
| 57 | 57 | ||
| 58 | do_install:append() { | ||
| 59 | # The binaries have RUNPATH=$libdir, which is redundant | ||
| 60 | chrpath -d ${D}/${bindir}/* ${D}${libdir}/*${SOLIBS} | ||
| 61 | } | ||
| 62 | |||
| 58 | BBCLASSEXTEND = "native nativesdk" | 63 | BBCLASSEXTEND = "native nativesdk" |
