summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]package/dbus/S30dbus0
-rw-r--r--package/dbus/dbus.mk14
2 files changed, 14 insertions, 0 deletions
diff --git a/package/dbus/S30dbus b/package/dbus/S30dbus
index 0d15c73043..0d15c73043 100755..100644
--- a/package/dbus/S30dbus
+++ b/package/dbus/S30dbus
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 7deae11887..e9c9aaf2f2 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -44,6 +44,20 @@ ifeq ($(BR2_microblaze),y)
DBUS_CONF_OPTS += --disable-inotify
endif
+ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
+DBUS_CONF_OPTS += --enable-selinux
+DBUS_DEPENDENCIES += libselinux
+else
+DBUS_CONF_OPTS += --disable-selinux
+endif
+
+ifeq ($(BR2_PACKAGE_AUDIT),y)
+DBUS_CONF_OPTS += --enable-libaudit
+DBUS_DEPENDENCIES += audit libcap-ng
+else
+DBUS_CONF_OPTS += --disable-libaudit
+endif
+
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
DBUS_CONF_OPTS += --with-x
DBUS_DEPENDENCIES += xlib_libX11
OpenPOWER on IntegriCloud