summaryrefslogtreecommitdiffstats
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-18 11:47:08 +0000
commitd688df8567ad30b477e7b4843cd54a4647595652 (patch)
treeed8eb61f50c267afb5455e18ac559d4d65ff4902
parent76e35f1d76dcd7a68fb6bed08363992407947a44 (diff)
downloadpoky-d688df8567ad30b477e7b4843cd54a4647595652.tar.gz
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. (From OE-Core rev: 86136f6013b216d8ee258783e5612c3cd0043a58) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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"
17 17
18BBCLASSEXTEND = "native nativesdk" 18BBCLASSEXTEND = "native nativesdk"
19 19
20DEPENDS = "virtual/libiconv libffi zlib" 20DEPENDS = "virtual/libiconv libffi zlib glib-2.0-native"
21DEPENDS_append = " ${@bb.utils.contains('PTEST_ENABLED', '1', ' glib-2.0-native dbus', '', d)}" 21DEPENDS_append = " ${@bb.utils.contains('PTEST_ENABLED', '1', ' dbus', '', d)}"
22DEPENDS_class-native = "pkgconfig-native gettext-native libffi-native zlib-native" 22DEPENDS_class-native = "pkgconfig-native gettext-native libffi-native zlib-native"
23DEPENDS_class-nativesdk = "nativesdk-libtool nativesdk-gettext nativesdk-libffi nativesdk-zlib" 23DEPENDS_class-nativesdk = "nativesdk-libtool nativesdk-gettext nativesdk-libffi nativesdk-zlib glib-2.0-native"
24 24
25PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen" 25PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
26 26