From 030c6cfec2977b3f64d198d88b97246a9209c278 Mon Sep 17 00:00:00 2001 From: Jonathan Helmus Date: Thu, 7 Dec 2017 18:16:49 -0600 Subject: [PATCH] fix makefile Remove CC and AR definitions from the Makefile, use from the environment unset prefix --- libraries/liblmdb/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile index f254511..fc465f2 100644 --- a/libraries/liblmdb/Makefile +++ b/libraries/liblmdb/Makefile @@ -18,8 +18,8 @@ # There may be other macros in mdb.c of interest. You should # read mdb.c before changing any of them. # -CC = gcc -AR = ar +#CC = gcc +#AR = ar W = -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized THREADS = -pthread OPT = -O2 -g @@ -27,7 +27,7 @@ CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS) LDLIBS = SOLIBS = SOEXT = .so -prefix = /usr/local +prefix = exec_prefix = $(prefix) bindir = $(exec_prefix)/bin libdir = $(exec_prefix)/lib -- 2.11.1