aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \