Skip to contentSkip to conversation

V2: Add dependency back for glib-2.0

PATCH New [email protected] 1 participant 2 messages Jan 11, 2016

lore
Share & tools
lore
#0 lore raw

cover V2: Add dependency back for glib-2.0

From: Kai Kang <[email protected]>

The following changes since commit 221d864042658daa054281aab439b44d54fe94d7:

bitbake: fetch/git: Change to use clearer ssh url syntax for broken servers (2016-01-08 13:58:08 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib kangkai/glib-2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/glib-2

Kai Kang (1):
glib-2.0: add dependency glib-2.0-native back

 meta/recipes-core/glib-2.0/glib.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.6.1
#1 lore raw

PATCH 1/1 glib-2.0: add dependency glib-2.0-native back

From: Kai Kang <[email protected]>

It uses command glib-genmarshal to build glib-2.0 which is from glib-2.0-native. If the command doesn't exist on host, build fails with error:

| /bin/sh: --prefix=test_marshal: command not found | make[4]: *** [testmarshal.c] Error 127

So add the dependency back.

---
 meta/recipes-core/glib-2.0/glib.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/glib-2.0/glib.inc +3 -3
index 86f7e0e..785d4d7 100644
@@ -17,10 +17,10 @@ SECTION = "libs"
 
 BBCLASSEXTEND = "native nativesdk"
 
-DEPENDS = "virtual/libiconv libffi zlib"
-DEPENDS_append = " ${@bb.utils.contains('PTEST_ENABLED', '1', ' glib-2.0-native dbus', '', d)}"
+DEPENDS = "virtual/libiconv libffi zlib glib-2.0-native"
+DEPENDS_append = " ${@bb.utils.contains('PTEST_ENABLED', '1', ' dbus', '', d)}"
 DEPENDS_class-native = "pkgconfig-native gettext-native libffi-native zlib-native"
-DEPENDS_class-nativesdk = "nativesdk-libtool nativesdk-gettext nativesdk-libffi nativesdk-zlib"
+DEPENDS_class-nativesdk = "nativesdk-libtool nativesdk-gettext nativesdk-libffi nativesdk-zlib glib-2.0-native"
 
 PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
 
Signature · 1 line
2.6.1