summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/diffoscope
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-06 08:41:26 +0100
commit5c2ccb059dc672efea1211c0ef3785ebe000ff7e (patch)
treeea400ea29be013c72e0173203a3f1025d259bd04 /meta/recipes-support/diffoscope
parentf628b052f6c4a957472f2520adfb4b816ef83d95 (diff)
downloadpoky-5c2ccb059dc672efea1211c0ef3785ebe000ff7e.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: 87884d9938829d5ae5d250f483c749e00cd83322) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/diffoscope')
-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 bf4726e778..86dd5d8d70 100644
--- a/meta/recipes-support/diffoscope/diffoscope_172.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_172.bb
@@ -23,6 +23,7 @@ do_install_append_class-native() {
23 create_wrapper ${D}${bindir}/diffoscope \ 23 create_wrapper ${D}${bindir}/diffoscope \
24 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \ 24 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
25 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ 25 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \
26 LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \
26 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} 27 RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE}
27} 28}
28 29