package/libpcap: add host variant
host-libpcap is needed to build host-zeek. It is not actually used for anything, so we can disable all features. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
fdd0260d4b
commit
adbfb71ee4
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user