File soname-configurable.patch of Package lmdb.13642
Index: lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile.am
===================================================================
--- lmdb-LMDB_0.9.17.orig/libraries/liblmdb/Makefile.am
+++ lmdb-LMDB_0.9.17/libraries/liblmdb/Makefile.am
@@ -1,6 +1,6 @@
lib_LTLIBRARIES = liblmdb.la
liblmdb_la_SOURCES = mdb.c midl.c
-liblmdb_la_LDFLAGS=-no-undefined -avoid-version
+liblmdb_la_LDFLAGS = -no-undefined -release __VERSION__
bin_PROGRAMS = mdb_stat mdb_copy mdb_load mdb_dump lmdump lmmgr
mdb_stat_LDADD = liblmdb.la