diff options
author | Toni <matzeton@googlemail.com> | 2020-10-19 11:25:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 11:25:22 +0200 |
commit | c2d8955c183259c42c1241dca2c6cf8f9c48bf9f (patch) | |
tree | 32c06530b45a65f4b7132187e48bc475ca02dab1 | |
parent | e9721eb4ceecac2379d3c6f5c6abdd4d4a27628c (diff) |
Fixed missing PCAP include directories in Makefiles. (#1034)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | example/Makefile.in | 2 | ||||
-rw-r--r-- | tests/unit/Makefile.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/example/Makefile.in b/example/Makefile.in index 5a9836a83..ec44acbe3 100644 --- a/example/Makefile.in +++ b/example/Makefile.in @@ -2,7 +2,7 @@ CC=@CC@ CXX=@CXX@ BUILD_MINGW=@BUILD_MINGW@ SRCHOME=../src -CFLAGS=-g -fPIC -DPIC -I$(SRCHOME)/include @CFLAGS@ +CFLAGS=-g -fPIC -DPIC -I$(SRCHOME)/include @PCAP_INC@ @CFLAGS@ LIBNDPI=$(SRCHOME)/lib/libndpi.a LDFLAGS=$(LIBNDPI) @PCAP_LIB@ @LIBS@ @ADDITIONAL_LIBS@ -lpthread -lm @LDFLAGS@ HEADERS=intrusion_detection.h reader_util.h $(SRCHOME)/include/ndpi_api.h \ diff --git a/tests/unit/Makefile.in b/tests/unit/Makefile.in index 9916033f5..7ead9df73 100644 --- a/tests/unit/Makefile.in +++ b/tests/unit/Makefile.in @@ -6,7 +6,7 @@ SRCHOME=../../src JSON_INC = $(shell pkg-config --cflags json-c) JSON_LIB = $(shell pkg-config --libs json-c) -CFLAGS=-g -fPIC -DPIC -I$(SRCHOME)/include $(JSON_INC) @CFLAGS@ +CFLAGS=-g -fPIC -DPIC -I$(SRCHOME)/include $(JSON_INC) @PCAP_INC@ @CFLAGS@ LIBNDPI=$(SRCHOME)/lib/libndpi.a LDFLAGS=$(LIBNDPI) @PCAP_LIB@ @LIBS@ @ADDITIONAL_LIBS@ $(JSON_LIB) -lpthread -lm @LDFLAGS@ HEADERS=$(SRCHOME)/include/ndpi_api.h $(SRCHOME)/include/ndpi_typedefs.h $(SRCHOME)/include/ndpi_protocol_ids.h |