From 7de73ca3a2144bf978647c34ca39ba1ff2e57510 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Wed, 18 Jun 2014 10:21:36 -0300 Subject: [PATCH] libpcap: make dbus support deterministic Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/libpcap/libpcap.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2