summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-05-05 17:18:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-13 22:10:06 +0100
commit30f48b461eaa42d5fd5451ddbd8b2c0d9c2faca8 (patch)
tree4d4d6e7528c99eb595bfa25bd0af1d2aecc4bd4a /meta/recipes-support
parent5d0c428946ead7babd3397714f984bf0e7e1b244 (diff)
downloadpoky-30f48b461eaa42d5fd5451ddbd8b2c0d9c2faca8.tar.gz
diffoscope: add native libraries to LD_LIBRARY_PATH
Reversal of global setting in previous commit necessitates a local fix, otherwise, this happens: File "/home/pokybuild/yocto-worker/reproducible-debian/build/build-st-52142/tmp/work/x86_64-linux/diffoscope-native/172-r0/recipe-sysroot-native/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: nativepython3: undefined symbol: archive_errno (From OE-Core rev: 0f4531275c1e332de81b31b89e52f588fc34b14a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 87884d9938829d5ae5d250f483c749e00cd83322) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/diffoscope/diffoscope_172.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/diffoscope/diffoscope_172.bb b/meta/recipes-support/diffoscope/diffoscope_172.bb
index eb85d6c854..b26713c47f 100644
--- a/meta/recipes-support/diffoscope/diffoscope_172.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_172.bb
@@ -18,6 +18,7 @@ do_install_append_class-native() {
18 create_wrapper ${D}${bindir}/diffoscope \ 18 create_wrapper ${D}${bindir}/diffoscope \
19 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \ 19 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
20 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ 20 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
21 LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \
21 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} 22 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE}
22} 23}
23 24