@@ -11,6 +11,7 @@ LIBPCAP_LICENSE_FILES = LICENSE
LIBPCAP_CPE_ID_VENDOR = tcpdump
LIBPCAP_INSTALL_STAGING = YES
LIBPCAP_DEPENDENCIES = host-flex host-bison host-pkgconf
+HOST_LIBPCAP_DEPENDENCIES = host-flex host-bison host-pkgconf
# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
# provided by autoconf relies on wchar_t.
@@ -23,6 +24,13 @@ LIBPCAP_CONF_OPTS = --disable-yydebug --with-pcap=linux --without-dag \
--without-dpdk
# 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
@@ -50,3 +58,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(+)