package/daq: fix build with host libdnet
PATCH 1/1 package/daq: fix build with host libdnet
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=12106
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/daq/daq.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/daq/daq.mk +7 -0
@@ -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
Signature · 1 line
2.20.1
PATCH 1/1 package/daq: fix build with host libdnet
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes:
- https://bugs.buildroot.org/show_bug.cgi?id=12106Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2019.02.x and 2019.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard