From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3,1/2] package/libpcap: add host variant
Date: Sun, 25 Oct 2020 17:12:45 +0100 [thread overview]
Message-ID: <20201025161246.1622486-1-fontaine.fabrice@gmail.com> (raw)
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(+)
diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 881a109a0a..93d5587466 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -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))
--
2.28.0
next reply other threads:[~2020-10-25 16:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-25 16:12 Fabrice Fontaine [this message]
2020-10-25 16:12 ` [Buildroot] [PATCH v3,2/2] package/zeek: new package Fabrice Fontaine
2020-10-26 21:08 ` Thomas Petazzoni
2020-10-26 22:50 ` Fabrice Fontaine
2020-10-27 8:25 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201025161246.1622486-1-fontaine.fabrice@gmail.com \
--to=fontaine.fabrice@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.