From: Alexander Kanavin Date: Wed, 5 May 2021 15:18:50 +0000 (+0200) Subject: diffoscope: add native libraries to LD_LIBRARY_PATH X-Git-Tag: 2020-04.8-dunfell~48 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0f4531275c1e332de81b31b89e52f588fc34b14a;p=openembedded-core.git 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 Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie (cherry picked from commit 87884d9938829d5ae5d250f483c749e00cd83322) Signed-off-by: Steve Sakoman --- 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() { create_wrapper ${D}${bindir}/diffoscope \ MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \ RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ + LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} \ RPM_ETCCONFIGDIR=${STAGING_DIR_NATIVE} }