]> code.ossystems Code Review - openembedded-core.git/commitdiff
gtk-doc.bbclass: unset LD_LIBRARY_PATH
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 23 Feb 2019 12:42:49 +0000 (13:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 12:35:20 +0000 (12:35 +0000)
meson has been found to set it erroneously.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/gtk-doc.bbclass

index bedb36ec8b7363fe3953bdf17c17176f9865a901..707d74d1083854a0eb08a4d47c1d84d11371c8e5 100644 (file)
@@ -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