From: Alexander Kanavin Date: Wed, 23 Aug 2017 17:06:21 +0000 (+0300) Subject: gtk-doc.bbclass: add all directories where .so files are found to library search... X-Git-Tag: 2017-10~322 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=40e8a15d7f0a39788164c3ed4fcdb6969af499b5;p=openembedded-core.git gtk-doc.bbclass: add all directories where .so files are found to library search path This should reduce the need to manually specify the path in recipes. Signed-off-by: Alexander Kanavin Signed-off-by: Ross Burton --- diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass index 0ae2729c0a..906ce7854a 100644 --- a/meta/classes/gtk-doc.bbclass +++ b/meta/classes/gtk-doc.bbclass @@ -48,6 +48,7 @@ do_compile_prepend_class-target () { # which may then get deleted (or their dependencies) and potentially segfault export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy +GIR_EXTRA_LIBS_PATH=\`find ${B} -name *.so -printf %h| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH GIR_EXTRA_LIBS_PATH=\`find ${B} -name .libs| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH if [ -d ".libs" ]; then