aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2019-01-20 23:17:46 +0100
committerGitHub <noreply@github.com>2019-01-20 23:17:46 +0100
commit72edc508ebaded90d5ef463b070eca661feaa10d (patch)
tree02f7215f991ced77232a90133b704e5f24b29942
parent7efe1f06eedbdfbdc316d330f746c47391be8f78 (diff)
parent81649d9979d5069299500bc6d74fc9587cccee16 (diff)
Merge pull request #661 from pcein/propagate-prefix
Propagate prefix settings to Makefiles
-rw-r--r--example/Makefile.in2
-rw-r--r--src/lib/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index 074718028..8960ed0a2 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -3,7 +3,7 @@ CFLAGS=-g -I../src/include @CFLAGS@
LIBNDPI=../src/lib/libndpi.a
LDFLAGS=$(LIBNDPI) @PCAP_LIB@ -lpthread @LDFLAGS@
OBJS=ndpiReader.o ndpi_util.o
-PREFIX?=/usr/local
+PREFIX?=@prefix@
all: ndpiReader @DPDK_TARGET@
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index 0ffeb9db5..8b0853dd4 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -10,7 +10,7 @@
#
# Installation directories
#
-prefix = /usr/local
+prefix = @prefix@
libdir = ${prefix}/lib
includedir = ${prefix}/include/ndpi
CC = @CC@