mirror of
https://git.yoctoproject.org/poky
synced 2026-06-05 02:20:12 +00:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user