Skip to contentSkip to conversation

gtk-doc.bbclass: unset LD_LIBRARY_PATH

PATCH New Alexander Kanavin 1 participant 1 message Feb 23, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gtk-doc.bbclass: unset LD_LIBRARY_PATH

meson has been found to set it erroneously.

---
 meta/classes/gtk-doc.bbclass | 3 +++
 1 file changed, 3 insertions(+)
meta/classes/gtk-doc.bbclass +3 -0
index bedb36ec8b7..707d74d1083 100644
@@ -51,6 +51,9 @@ export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy
 GIR_EXTRA_LIBS_PATH=\`find ${B} -name *.so -printf "%h\n"|sort|uniq| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH
 GIR_EXTRA_LIBS_PATH=\`find ${B} -name .libs| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH
 
+# meson sets this wrongly (only to libs in build-dir), qemu-wrapper_cmdline() and GIR_EXTRA_LIBS_PATH take care of it properly
+unset LD_LIBRARY_PATH
+
 if [ -d ".libs" ]; then
     $qemu_binary ".libs/\$@"
 else
Signature · 1 line
2.17.1