during configure, pkgconfig detects dbus-1.pc which was installed
by dbus-native and thus the compilation fails because it can't
find dbus/dbus.h which is not yet installed for in the target's
sysroot.
This patch workaround this problem by not compiling the test program
which depends on dbus's headers.
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
DEPENDS_virtclass-native = "gettext-native gtk-doc-native \
pkgconfig-native"
-PR = "r0"
+PR = "r1"
SRC_URI = "\
http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${PV}.tar.bz2;name=archive \
do_configure_prepend () {
install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
+ sed -i -e "s:TEST_PROGS += gdbus-serialization::g" ${S}/gio/tests/Makefile.am
}
do_install_append() {