summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorDmitry Rozhkov <dmitry.rozhkov@linux.intel.com>2016-05-31 11:35:05 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 13:13:25 +0100
commit408297489d1b368e8cc539ce93fbe566976b0f3a (patch)
treea86b578995f69dd128f80e2471eb07fde8706580 /meta/recipes-graphics
parent2ce22250c48e6da48bf3689944c06e44e5bb3b17 (diff)
downloadpoky-408297489d1b368e8cc539ce93fbe566976b0f3a.tar.gz
pango_1.40.1.bb: Fix compilation error
On a build host not having libglib-2.0 installed compiling pango fails with the error message ./gen-all-unicode: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory The executable doesn't have RPATH set to the library installed in the native sysroot. The fix sets RPATH. (From OE-Core rev: 25168b82f82f9b205973014664fe2044ec4d4d6d) Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/pango/pango_1.40.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/pango/pango_1.40.1.bb b/meta/recipes-graphics/pango/pango_1.40.1.bb
index 6e1e6c9be6..60288a19be 100644
--- a/meta/recipes-graphics/pango/pango_1.40.1.bb
+++ b/meta/recipes-graphics/pango/pango_1.40.1.bb
@@ -36,7 +36,7 @@ LIBV = "1.8.0"
36# This binary needs to be compiled for the host architecture. This isn't pretty! 36# This binary needs to be compiled for the host architecture. This isn't pretty!
37do_compile_prepend_class-target () { 37do_compile_prepend_class-target () {
38 if ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then 38 if ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then
39 make CC="${BUILD_CC}" CFLAGS="" LDFLAGS="" AM_CPPFLAGS="$(pkg-config-native --cflags glib-2.0)" gen_all_unicode_LDADD="$(pkg-config-native --libs glib-2.0)" -C ${B}/tests gen-all-unicode 39 make CC="${BUILD_CC}" CFLAGS="" LDFLAGS="${BUILD_LDFLAGS}" AM_CPPFLAGS="$(pkg-config-native --cflags glib-2.0)" gen_all_unicode_LDADD="$(pkg-config-native --libs glib-2.0)" -C ${B}/tests gen-all-unicode
40 fi 40 fi
41} 41}
42 42