summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2016-01-11 15:07:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-17 11:32:21 +0000
commit86136f6013b216d8ee258783e5612c3cd0043a58 (patch)
tree953cfa9ebf2f0c4ef1149bc832d3c9b9f913638c /meta
parenta29371848deda618a42f9a30f9856a44c2342fe6 (diff)
downloadopenembedded-core-86136f6013b216d8ee258783e5612c3cd0043a58.tar.gz
openembedded-core-86136f6013b216d8ee258783e5612c3cd0043a58.tar.bz2
openembedded-core-86136f6013b216d8ee258783e5612c3cd0043a58.zip
glib-2.0: add dependency glib-2.0-native back
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. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 86f7e0ee57..785d4d7a42 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -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"