aboutsummaryrefslogtreecommitdiff
path: root/package/libpcap/libpcap.mk
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2019-03-09 20:28:14 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-14 22:03:47 +0100
commitb01d463c14060318743ce5d0a2da01a5b3a5e0e2 (patch)
treeed44ee0cc9608205763c15ba35f292e55751f20b /package/libpcap/libpcap.mk
parent2776484107b8f8640e0771c3ffe45b62a78920fb (diff)
downloadbuildroot-b01d463c14060318743ce5d0a2da01a5b3a5e0e2.tar.gz
buildroot-b01d463c14060318743ce5d0a2da01a5b3a5e0e2.tar.bz2
package/libpcap: disable dbus to break circular dependency
The optional dbus dependency of libpcap creates a circular dependency chain: $ make libpcap-show-recursive-depends Recursion detected for : systemd which is a dependency of: dbus which is a dependency of: libpcap which is a dependency of: iptables which is a dependency of: systemd make: *** [package/libpcap/libpcap.mk:55: libpcap-show-recursive-depends] Error 1 Of all these dependencies the one of libpcap on dbus seems to be less useful. Drop it. Fixes: http://autobuild.buildroot.net/results/0b5d18bff816cbcee11e8645449701722d956de5/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libpcap/libpcap.mk')
-rw-r--r--package/libpcap/libpcap.mk9
1 files changed, 2 insertions, 7 deletions
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 126087220b..83188c8c48 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -16,6 +16,8 @@ LIBPCAP_CONF_ENV = \
CFLAGS="$(LIBPCAP_CFLAGS)"
LIBPCAP_CFLAGS = $(TARGET_CFLAGS)
LIBPCAP_CONF_OPTS = --disable-yydebug --with-pcap=linux --without-dag
+# Disable dbus to break recursive dependencies
+LIBPCAP_CONF_OPTS += --disable-dbus
LIBPCAP_CONFIG_SCRIPTS = pcap-config
# Omit -rpath from pcap-config output
@@ -32,13 +34,6 @@ else
LIBPCAP_CONF_OPTS += --disable-bluetooth
endif
-ifeq ($(BR2_PACKAGE_DBUS),y)
-LIBPCAP_CONF_OPTS += --enable-dbus
-LIBPCAP_DEPENDENCIES += dbus
-else
-LIBPCAP_CONF_OPTS += --disable-dbus
-endif
-
ifeq ($(BR2_PACKAGE_LIBNL),y)
LIBPCAP_DEPENDENCIES += libnl
LIBPCAP_CFLAGS += "-I$(STAGING_DIR)/usr/include/libnl3"