diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2019-01-20 23:17:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-20 23:17:46 +0100 |
commit | 72edc508ebaded90d5ef463b070eca661feaa10d (patch) | |
tree | 02f7215f991ced77232a90133b704e5f24b29942 | |
parent | 7efe1f06eedbdfbdc316d330f746c47391be8f78 (diff) | |
parent | 81649d9979d5069299500bc6d74fc9587cccee16 (diff) |
Merge pull request #661 from pcein/propagate-prefix
Propagate prefix settings to Makefiles
-rw-r--r-- | example/Makefile.in | 2 | ||||
-rw-r--r-- | src/lib/Makefile.in | 2 |
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@ |