diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-28 21:33:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-28 21:33:59 +0200 |
commit | 32506a6ca7b61e68f68a61db169716fa5d82b5a7 (patch) | |
tree | 527f98c1d5d760aeeed05864f31559487a35b219 /external/db_drivers/liblmdb/Makefile | |
parent | Merge pull request #5074 (diff) | |
parent | Resync to upstream mdb.master (diff) | |
download | monero-32506a6ca7b61e68f68a61db169716fa5d82b5a7.tar.xz |
Merge pull request #5079
efec3ed2 Resync to upstream mdb.master (Howard Chu)
Diffstat (limited to '')
-rw-r--r-- | external/db_drivers/liblmdb/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/external/db_drivers/liblmdb/Makefile b/external/db_drivers/liblmdb/Makefile index 186168038..942d0dbe4 100644 --- a/external/db_drivers/liblmdb/Makefile +++ b/external/db_drivers/liblmdb/Makefile @@ -26,6 +26,7 @@ OPT = -O2 -g CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS) LDLIBS = SOLIBS = +SOEXT = .so prefix = /usr/local exec_prefix = $(prefix) bindir = $(exec_prefix)/bin @@ -37,7 +38,7 @@ mandir = $(datarootdir)/man ######################################################################## IHDRS = lmdb.h -ILIBS = liblmdb.a liblmdb.so +ILIBS = liblmdb.a liblmdb$(SOEXT) IPROGS = mdb_stat mdb_copy mdb_dump mdb_load mdb_drop IDOCS = mdb_stat.1 mdb_copy.1 mdb_dump.1 mdb_load.1 mdb_drop.1 PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5 @@ -63,7 +64,7 @@ test: all liblmdb.a: mdb.o midl.o $(AR) rs $@ mdb.o midl.o -liblmdb.so: mdb.lo midl.lo +liblmdb$(SOEXT): mdb.lo midl.lo # $(CC) $(LDFLAGS) -pthread -shared -Wl,-Bsymbolic -o $@ mdb.o midl.o $(SOLIBS) $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS) |