[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8503) Provide proper soname to liblmdb.so.1

Full_Name: Pietro Cerutti
Version: LMDB 0.9.18
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

This patch provides the shared lib with a proper soname.

diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile
index 72d0984..4429992 100644
--- a/libraries/liblmdb/Makefile
+++ b/libraries/liblmdb/Makefile
@@ -66,7 +66,7 @@ liblmdb.a:    mdb.o midl.o

 liblmdb$(SOEXT):       mdb.lo midl.lo
 #      $(CC) $(LDFLAGS) -pthread -shared -Wl,-Bsymbolic -o $@ mdb.o midl.o
-       $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS)A0A+   
   4%4(CC) $(LDFLAGS) -pthread -shared -Wl,-soname=$@ -o $@ mdb.lo midl.lo

 mdb_stat: mdb_stat.o liblmdb.a
 mdb_copy: mdb_copy.o liblmdb.a