diff options
Diffstat (limited to 'meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch')
| -rw-r--r-- | meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch b/meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch new file mode 100644 index 0000000000..312809d1d2 --- /dev/null +++ b/meta-oe/recipes-dbs/lmdb/files/0001-make-set-soname-on-liblmdb.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 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 | ||
