diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-10-05 17:16:11 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:23:58 +0000 |
commit | 7d934ff315cefff121b806edbc481f2356e212b2 (patch) | |
tree | 2fbc57511b6cd33318cf0230c4b642ac1e1a46d0 /meta | |
parent | 2f6cffd60565179d4722f75ba002e5eca66f896f (diff) | |
download | poky-7d934ff315cefff121b806edbc481f2356e212b2.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: 9bdfc39d431c729740025ce5b711d7b5684df800)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/gtk-doc.bbclass | 2 |
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 |
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 *.so -printf "%h\n"|sort|uniq| tr '\n' ':'\`\$GIR_EXTRA_LIBS_PATH |
52 | 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 |
53 | 53 | ||
54 | if [ -d ".libs" ]; then | 54 | if [ -d ".libs" ]; then |