]> code.ossystems Code Review - openembedded-core.git/commit
diffoscope: add native libraries to LD_LIBRARY_PATH
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 5 May 2021 15:18:50 +0000 (17:18 +0200)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 7 May 2021 00:50:17 +0000 (08:50 +0800)
commit73edf1b88f0997f7368bfdb59d3076f085c5da4e
tree41bf0a7c02ba37b1ffd5e13dd4355398f5171b88
parentefcc95f25843ed5aa825ebc55985eaf4660a498a
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 <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87884d9938829d5ae5d250f483c749e00cd83322)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-support/diffoscope/diffoscope_172.bb