diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-08-23 20:06:21 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-11 17:30:10 +0100 |
commit | 40e8a15d7f0a39788164c3ed4fcdb6969af499b5 (patch) | |
tree | 04f21ca27c2c91bcc16054c2f226f748c7593567 | |
parent | 35ab2c7b08359f22f74106339841f8134123adf4 (diff) | |
download | openembedded-core-40e8a15d7f0a39788164c3ed4fcdb6969af499b5.tar.gz openembedded-core-40e8a15d7f0a39788164c3ed4fcdb6969af499b5.tar.bz2 openembedded-core-40e8a15d7f0a39788164c3ed4fcdb6969af499b5.zip |
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 <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/classes/gtk-doc.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
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 |