@@ -10,6 +10,7 @@ LIBPCAP_LICENSE = BSD-3-Clause
LIBPCAP_LICENSE_FILES = LICENSE
LIBPCAP_INSTALL_STAGING = YES
LIBPCAP_DEPENDENCIES = host-flex host-bison
+HOST_LIBPCAP_DEPENDENCIES = host-flex host-bison
LIBPCAP_CONF_ENV = \
ac_cv_header_linux_wireless_h=yes \
@@ -18,6 +19,13 @@ 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
+HOST_LIBPCAP_CONF_OPTS = \
+ --disable-bluetooth \
+ --disable-dbus \
+ --disable-yydebug \
+ --with-pcap=linux \
+ --without-dag \
+ --without-libnl
LIBPCAP_CONFIG_SCRIPTS = pcap-config
# Omit -rpath from pcap-config output
@@ -46,3 +54,4 @@ LIBPCAP_CFLAGS += -fPIC
endif
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
host-libpcap is needed to build host-zeek Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/libpcap/libpcap.mk | 9 +++++++++ 1 file changed, 9 insertions(+)