Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | From b4d418bf3f78748d84e3cfb110833443eef34284 Mon Sep 17 00:00:00 2001 |
| 2 | From: Justin Bronder <jsbronder@cold-front.org> |
| 3 | Date: Thu, 25 Aug 2022 17:22:20 -0400 |
| 4 | Subject: [PATCH] make: set soname on liblmdb |
| 5 | |
| 6 | --- |
| 7 | libraries/liblmdb/Makefile | 2 +- |
| 8 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 | |
| 10 | diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile |
| 11 | index 1ec74e6..ea08cd6 100644 |
| 12 | --- a/libraries/liblmdb/Makefile |
| 13 | +++ b/libraries/liblmdb/Makefile |
| 14 | @@ -66,7 +66,7 @@ liblmdb.a: mdb.o midl.o |
| 15 | |
| 16 | liblmdb$(SOEXT): mdb.lo midl.lo |
| 17 | # $(CC) $(LDFLAGS) -pthread -shared -Wl,-Bsymbolic -o $@ mdb.o midl.o $(SOLIBS) |
| 18 | - $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS) |
| 19 | + $(CC) $(LDFLAGS) -pthread -shared -Wl,-soname,$@ -o $@ mdb.lo midl.lo $(SOLIBS) |
| 20 | |
| 21 | mdb_stat: mdb_stat.o liblmdb.a |
| 22 | mdb_copy: mdb_copy.o liblmdb.a |