glib-2.0: add explicit build dependency on DBus when ptest is enabled
If the tests are enabled then configure will check for the presence DBus. It's generally present through the runtime dependencies so this often succeeds but as it isn't a build dependency it's possible for DBus to be present at configure time but removed at compile time, resulting in build failures. (From OE-Core rev: 0150e86a7609579cf26f5ef5c6c69b521340218e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c97d01d5b5
commit
6e15d32e83
|
@ -16,8 +16,10 @@ SECTION = "libs"
|
|||
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-nativesdk = "nativesdk-libtool nativesdk-libffi nativesdk-zlib ${BPN}-native"
|
||||
|
||||
PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen"
|
||||
|
||||
LEAD_SONAME = "libglib-2.0.*"
|
||||
|
|
Loading…
Reference in New Issue