From cb34c6b23366dcfae75a27987f4676a7de021ea3 Mon Sep 17 00:00:00 2001 From: emanuele-f Date: Fri, 14 Feb 2020 12:06:55 +0100 Subject: Add fpic in the reader --- example/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') 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 \ -- cgit v1.2.3