aboutsummaryrefslogtreecommitdiff
path: root/package/libpcap/libpcap.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-06-18 10:21:36 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-06-18 23:56:45 +0200
commit7de73ca3a2144bf978647c34ca39ba1ff2e57510 (patch)
treed65f4ce31b3d3b97d762d6ef83a23a271af89df5 /package/libpcap/libpcap.mk
parent35b6b8b804d32724d166eec6679ff353f00cdb72 (diff)
downloadbuildroot-7de73ca3a2144bf978647c34ca39ba1ff2e57510.tar.gz
buildroot-7de73ca3a2144bf978647c34ca39ba1ff2e57510.tar.bz2
libpcap: make dbus support deterministic
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libpcap/libpcap.mk')
-rw-r--r--package/libpcap/libpcap.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 3681d4c4cc..10b6cea029 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -20,6 +20,13 @@ LIBPCAP_CFLAGS = $(TARGET_CFLAGS)
LIBPCAP_CONF_OPT = --disable-yydebug --with-pcap=linux
LIBPCAP_CONFIG_SCRIPTS = pcap-config
+ifeq ($(BR2_PACKAGE_DBUS),y)
+LIBPCAP_CONF_OPT += --enable-dbus
+LIBPCAP_DEPENDENCIES += dbus
+else
+LIBPCAP_CONF_OPT += --disable-dbus
+endif
+
ifeq ($(BR2_PACKAGE_LIBUSB),y)
LIBPCAP_CONF_OPT += --enable-canusb
LIBPCAP_DEPENDENCIES += libusb