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:28 +0100 |
commit | a2b8d36daa45c1ce03df74032b0b77b2bc67af36 (patch) | |
tree | 2f97ec311ca1b1419063b6eb0ef7af99972eb940 | |
parent | 4a9d1836b96fde88b8584bcf799a493cc93f58b4 (diff) | |
download | poky-a2b8d36daa45c1ce03df74032b0b77b2bc67af36.tar.gz |
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.
(From OE-Core rev: 40e8a15d7f0a39788164c3ed4fcdb6969af499b5)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 () { | |||
48 | # which may then get deleted (or their dependencies) and potentially segfault | 48 | # which may then get deleted (or their dependencies) and potentially segfault |
49 | export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy | 49 | export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy |
50 | 50 | ||
51 | GIR_EXTRA_LIBS_PATH=\`find ${B} -name *.so -printf %h| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH | ||
51 | GIR_EXTRA_LIBS_PATH=\`find ${B} -name .libs| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH | 52 | GIR_EXTRA_LIBS_PATH=\`find ${B} -name .libs| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH |
52 | 53 | ||
53 | if [ -d ".libs" ]; then | 54 | if [ -d ".libs" ]; then |