summaryrefslogtreecommitdiff
path: root/package/dbus
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-30 17:27:59 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-30 17:27:59 +0100
commitaf0d7a1fb6fb83ff44a48c4c2556dd991411ff5c (patch)
treef1e41dadf218db0d53e478c351af300d3124fe67 /package/dbus
parent6b7a4a4d223eaf3c2267fa7db67b7bda336aad3b (diff)
dbus: audit support needs both audit and libcap-ng
As was suggested by the <pkg>_DEPENDENCIES variable, the audit support in DBus requires both audit and libcap-ng. However, it didn't take care of the fact that libcap-ng must be enabled in the configuration to depend on it, causing some build failures with the newly added check. DBus configure.ac confirms that both packages are needed to enable audit support, so we simply fix the condition to only be true when both BR2_PACKAGE_AUDIT *and* BR2_PACKAGE_LIBCAP_NG are true. Fixes: http://autobuild.buildroot.org/results/239/23953cc66faecb65e9ebf1f6980924f823d736a2/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/dbus')
-rw-r--r--package/dbus/dbus.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 3cdc42ae7f..33bfb31580 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -50,7 +50,7 @@ else
DBUS_CONF_OPTS += --disable-selinux
endif
-ifeq ($(BR2_PACKAGE_AUDIT),y)
+ifeq ($(BR2_PACKAGE_AUDIT)$(BR2_PACKAGE_LIBCAP_NG),yy)
DBUS_CONF_OPTS += --enable-libaudit
DBUS_DEPENDENCIES += audit libcap-ng
else