[oe-commits] Richard Purdie : glib-2.0-native: Fix DEPENDS

git at git.openembedded.org git at git.openembedded.org
Tue Mar 25 09:47:56 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: f7fd641c13543f0df412fe0ff01238734ddbbaff
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f7fd641c13543f0df412fe0ff01238734ddbbaff

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Mar 24 13:58:01 2014 +0000

glib-2.0-native: Fix DEPENDS

Address the error

| checking for ZLIB... no
| checking for inflate in -lz... no
| configure: error: *** Working zlib library and headers not found ***

by ensuring zlib-native is in DEPENDS.

[YOCTO #5773]

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/glib-2.0/glib.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 33d30c1..cb07665 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -17,7 +17,7 @@ BBCLASSEXTEND = "native nativesdk"
 
 DEPENDS = "glib-2.0-native virtual/libiconv libffi zlib"
 DEPENDS_append_class-target = "${@base_contains('DISTRO_FEATURES', 'ptest', ' dbus', '', d)}"
-DEPENDS_class-native = "pkgconfig-native gettext-native libffi-native"
+DEPENDS_class-native = "pkgconfig-native gettext-native libffi-native zlib-native"
 DEPENDS_class-nativesdk = "nativesdk-libtool nativesdk-libffi nativesdk-zlib ${BPN}-native"
 
 PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"



More information about the Openembedded-commits mailing list