lmdb_make.patch 473 Bytes
Newer Older
Olivier Mauras's avatar
Olivier Mauras committed
1
diff --git a/Makefile b/Makefile
2
index 0940c49..7a47dc2 100644
Olivier Mauras's avatar
Olivier Mauras committed
3 4
--- a/Makefile
+++ b/Makefile
5
@@ -23,11 +23,11 @@ AR	= ar
Olivier Mauras's avatar
Olivier Mauras committed
6 7 8 9 10 11 12
 W	= -W -Wall -Wno-unused-parameter -Wbad-function-cast -Wuninitialized
 THREADS = -pthread
 OPT = -O2 -g
-CFLAGS	= $(THREADS) $(OPT) $(W) $(XCFLAGS)
+CFLAGS	= $(THREADS) $(OPT) $(W) $(XCFLAGS) -fPIC
 LDLIBS	=
 SOLIBS	=
13
 SOEXT	= .so
Olivier Mauras's avatar
Olivier Mauras committed
14 15
-prefix	= /usr/local
+prefix	= /usr
16 17 18
 exec_prefix = $(prefix)
 bindir = $(exec_prefix)/bin
 libdir = $(exec_prefix)/lib