aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremanuele-f <faranda@ntop.org>2020-02-14 12:06:55 +0100
committeremanuele-f <faranda@ntop.org>2020-02-14 12:06:55 +0100
commitcb34c6b23366dcfae75a27987f4676a7de021ea3 (patch)
tree18f100592392a0d25b7613b8b0da39fbfb48beff
parentfd9427050700aea7a7e37ad7909c09aff721a797 (diff)
Add fpic in the reader
-rw-r--r--example/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index ec9c712ae..737da4f8f 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -1,7 +1,7 @@
CC=@CC@
CXX=@CXX@
SRCHOME=../src
-CFLAGS=-g -I$(SRCHOME)/include @CFLAGS@
+CFLAGS=-g -fPIC -DPIC -I$(SRCHOME)/include @CFLAGS@
LIBNDPI=$(SRCHOME)/lib/libndpi.a
LDFLAGS=$(LIBNDPI) @PCAP_LIB@ @ADDITIONAL_LIBS@ -lpthread -lm @LDFLAGS@
HEADERS=intrusion_detection.h reader_util.h $(SRCHOME)/include/ndpi_api.h \