* [Buildroot] [git commit] package/daq: fix build with host libdnet
@ 2019-08-15 13:15 Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2019-08-15 13:15 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=bd8a37a681cb5190f5af0ed1c20f556bf5661345
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=12106
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/daq/daq.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/daq/daq.mk b/package/daq/daq.mk
index a23a9dc5ee..f0f996ba2c 100644
--- a/package/daq/daq.mk
+++ b/package/daq/daq.mk
@@ -18,6 +18,13 @@ DAQ_MAKE = $(MAKE1)
# disable ipq module as libipq is deprecated
DAQ_CONF_OPTS += --disable-ipq-module
+# Set --with-dnet-{includes,libraries} even if ipq and nfq modules are disabled
+# otherwise daq will call 'dnet-config --cflags' and 'dnet-config --libs' which
+# will result in a build failure if libdnet is installed on host
+DAQ_CONF_OPTS += \
+ --with-dnet-includes=$(STAGING_DIR)/usr/include \
+ --with-dnet-libraries=$(STAGING_DIR)/usr/lib
+
ifeq ($(BR2_PACKAGE_LIBDNET)$(BR2_PACKAGE_LIBNETFILTER_QUEUE),yy)
DAQ_DEPENDENCIES += libdnet libnetfilter_queue
DAQ_CONF_OPTS += --enable-nfq-module
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-15 13:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-15 13:15 [Buildroot] [git commit] package/daq: fix build with host libdnet Thomas Petazzoni
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.