summaryrefslogtreecommitdiffstats
path: root/meta/classes/gtk-doc.bbclass
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-10-05 17:16:11 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-09 12:33:16 +0000
commit5a5971bbab7acb210dfaf10f7bd74e438d697776 (patch)
treead6c5112ade117407ada52a85b9500a9fbe7b924 /meta/classes/gtk-doc.bbclass
parentf454c87659bc78313994345eef40162b29e9bf9a (diff)
downloadpoky-5a5971bbab7acb210dfaf10f7bd74e438d697776.tar.gz
gtk-doc.bbclass: correctly make the list of directories with shared libraries
Previously it was working only if only one shared library was found, and broke when there were several. (From OE-Core rev: a4da3957f4577f9826c73e1d23bcffe9ee96a7d4) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-doc.bbclass')
-rw-r--r--meta/classes/gtk-doc.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 906ce7854a..5201c7151c 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -48,7 +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
49export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy 49export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy
50 50
51GIR_EXTRA_LIBS_PATH=\`find ${B} -name *.so -printf %h| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH 51GIR_EXTRA_LIBS_PATH=\`find ${B} -name *.so -printf "%h\n"|sort|uniq| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH
52GIR_EXTRA_LIBS_PATH=\`find ${B} -name .libs| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH 52GIR_EXTRA_LIBS_PATH=\`find ${B} -name .libs| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH
53 53
54if [ -d ".libs" ]; then 54if [ -d ".libs" ]; then