aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2022-07-13 19:44:18 +0200
committerGitHub <noreply@github.com>2022-07-13 19:44:18 +0200
commit7c19de49047a5731f3107ff17854e9afe839cc61 (patch)
tree82b3c52661fcfc6493eb54f280c7a0be4e6154ee /tests/unit
parentae2bedce3aa151d55e7bce46188d206f9fe0abec (diff)
Do not interfere with CFLAGS/LDFLAGS env anymore. (#1659)
* CI fixes * some build systems do not like that (e.g. OpenWrt) * fixed some rrdtool related build warnings/errors Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Makefile.in b/tests/unit/Makefile.in
index 9185c9031..34eb50558 100644
--- a/tests/unit/Makefile.in
+++ b/tests/unit/Makefile.in
@@ -8,10 +8,10 @@ SRCHOME=../../src
ifneq ($(OS),Windows_NT)
CFLAGS+=-fPIC -DPIC
endif
-CFLAGS+=-g -I$(SRCHOME)/include @JSONC_CFLAGS@ @PCAP_INC@ @CFLAGS@
+CFLAGS+=-g -I$(SRCHOME)/include @NDPI_CFLAGS@ @JSONC_CFLAGS@ @PCAP_INC@
LIBNDPI=$(SRCHOME)/lib/libndpi.a
LIBS=$(LIBNDPI) @PCAP_LIB@ @ADDITIONAL_LIBS@ @JSONC_LIBS@ @LIBS@
-LDFLAGS=@LDFLAGS@
+LDFLAGS+=@NDPI_LDFLAGS@
HEADERS=$(SRCHOME)/include/ndpi_api.h $(SRCHOME)/include/ndpi_typedefs.h $(SRCHOME)/include/ndpi_protocol_ids.h
OBJS=unit
PREFIX?=@prefix@