Skip to contentSkip to conversation

glib-2.0-native: Fix DEPENDS

PATCH New Richard Purdie 1 participant 1 message Mar 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---

meta/recipes-core/glib-2.0/glib.inc +1 -1
index 33d30c1..cb07665 100644
@@ -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"