From: Robert Yang Date: Tue, 27 May 2014 01:39:46 +0000 (-0400) Subject: dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10 X-Git-Tag: 2015-4~2542 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7a2d2d81d8694806060f7bccfbdba42dc356d477;p=openembedded-core.git dbus-native: dbus-native: do_compile failed on selinux.c on CentOS 5.10 Found this error on CentOS 5.10, other distros may also has this problem, I think that we can disable the selinux for dbus-native: bus/selinux.c:327: error: array type has incomplete element type [YOCTO #6374] Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 5b2a056511..01108c96b8 100644 --- a/meta/recipes-core/dbus/dbus.inc +++ b/meta/recipes-core/dbus/dbus.inc @@ -86,6 +86,8 @@ EXTRA_OECONF = "--disable-tests \ --disable-systemd \ --without-dbus-glib" +EXTRA_OECONF_class-native = "--disable-selinux" + PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" PACKAGECONFIG_class-native = ""