[oe-commits] [openembedded-core] 05/05: pango_1.40.1.bb: Fix compilation error

git at git.openembedded.org git at git.openembedded.org
Thu Jun 2 07:37:40 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 25168b82f82f9b205973014664fe2044ec4d4d6d
Author: Dmitry Rozhkov <dmitry.rozhkov at linux.intel.com>
AuthorDate: Tue May 31 11:35:05 2016 +0300

    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.
    
    Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-graphics/pango/pango_1.40.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/pango/pango_1.40.1.bb b/meta/recipes-graphics/pango/pango_1.40.1.bb
index 6e1e6c9..60288a1 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"
 # This binary needs to be compiled for the host architecture.  This isn't pretty!
 do_compile_prepend_class-target () {
 	if ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then
-		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
+		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
 	fi
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list