mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d3f607c70f
commit
79ba646b73
@@ -55,4 +55,9 @@ FILES:jpeg-tools = "${bindir}/*"
|
|||||||
DESCRIPTION:libturbojpeg = "A SIMD-accelerated JPEG codec which provides only TurboJPEG APIs"
|
DESCRIPTION:libturbojpeg = "A SIMD-accelerated JPEG codec which provides only TurboJPEG APIs"
|
||||||
FILES:libturbojpeg = "${libdir}/libturbojpeg.so.*"
|
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"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user