kumquat-buildroot/package/daq3/daq3.mk
Fabrice Fontaine 9c45f0706c package/daq3: fix build without C++
Fix the following build failure without C++ raised since bump to
version 3.0.9 in commit c05fe1d621 and
c2ae4668fb:

libtool: compile:  no -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -Wall -Wmissing-declarations -Wpointer-arith -Wcast-align -Wcast-qual -Wformat -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -Wextra -Wsign-compare -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -I../api -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -c gwlb/daq_gwlb.cc  -o gwlb/.libs/daq_gwlb_la-daq_gwlb.o
../libtool: line 1763: no: command not found

Fixes:
 - http://autobuild.buildroot.org/results/48b4673f46c9065e97e95872f9aa947c4f3fc21b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-09-24 23:39:30 +02:00

37 lines
885 B
Makefile

################################################################################
#
# daq3
#
################################################################################
DAQ3_VERSION = 3.0.9
DAQ3_SITE = $(call github,snort3,libdaq,v$(DAQ3_VERSION))
DAQ3_LICENSE = GPL-2.0
DAQ3_LICENSE_FILES = COPYING LICENSE
DAQ3_INSTALL_STAGING = YES
DAQ3_DEPENDENCIES = host-pkgconf
# From git
DAQ3_AUTORECONF = YES
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
DAQ3_CONF_OPTS += --enable-gwlb-module
else
DAQ3_CONF_OPTS += --disable-gwlb-module
endif
ifeq ($(BR2_PACKAGE_LIBNETFILTER_QUEUE),y)
DAQ3_DEPENDENCIES += libnetfilter_queue
DAQ3_CONF_OPTS += --enable-nfq-module
else
DAQ3_CONF_OPTS += --disable-nfq-module
endif
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
DAQ3_DEPENDENCIES += libpcap
DAQ3_CONF_OPTS += --enable-pcap-module
else
DAQ3_CONF_OPTS += --disable-pcap-module
endif
$(eval $(autotools-package))