mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
lmdb: fix build
This commit is contained in:
parent
7595d6d722
commit
511c978241
1 changed files with 6 additions and 6 deletions
|
@ -1,15 +1,15 @@
|
||||||
--- libraries/liblmdb/Makefile.orig 2016-09-11 13:49:25.425232271 +0400
|
--- libraries/liblmdb/Makefile.orig 2017-01-02 10:53:29.945926753 +0000
|
||||||
+++ libraries/liblmdb/Makefile 2016-09-11 14:15:01.040383128 +0400
|
+++ libraries/liblmdb/Makefile 2017-01-02 10:55:01.005931451 +0000
|
||||||
@@ -26,6 +26,8 @@
|
@@ -26,6 +26,8 @@
|
||||||
CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
|
CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
|
||||||
LDLIBS =
|
LDLIBS =
|
||||||
SOLIBS =
|
SOLIBS =
|
||||||
+MAJOR = 0
|
+MAJOR = 0
|
||||||
+MINOR = 9
|
+MINOR = 9
|
||||||
|
SOEXT = .so
|
||||||
prefix = /usr/local
|
prefix = /usr/local
|
||||||
exec_prefix = $(prefix)
|
exec_prefix = $(prefix)
|
||||||
bindir = $(exec_prefix)/bin
|
@@ -50,12 +52,15 @@
|
||||||
@@ -49,12 +51,15 @@
|
|
||||||
mkdir -p $(DESTDIR)$(includedir)
|
mkdir -p $(DESTDIR)$(includedir)
|
||||||
mkdir -p $(DESTDIR)$(mandir)/man1
|
mkdir -p $(DESTDIR)$(mandir)/man1
|
||||||
for f in $(IPROGS); do cp $$f $(DESTDIR)$(bindir); done
|
for f in $(IPROGS); do cp $$f $(DESTDIR)$(bindir); done
|
||||||
|
@ -27,9 +27,9 @@
|
||||||
|
|
||||||
test: all
|
test: all
|
||||||
rm -rf testdb && mkdir testdb
|
rm -rf testdb && mkdir testdb
|
||||||
@@ -65,7 +70,7 @@
|
@@ -66,7 +71,7 @@
|
||||||
|
|
||||||
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 -Wl,-Bsymbolic -o $@ mdb.o midl.o $(SOLIBS)
|
||||||
- $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS)
|
- $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS)
|
||||||
+ $(CC) $(LDFLAGS) -pthread -shared -Wl,-soname=$@.$(MAJOR) -o $@.$(MAJOR).$(MINOR) mdb.lo midl.lo $(SOLIBS)
|
+ $(CC) $(LDFLAGS) -pthread -shared -Wl,-soname=$@.$(MAJOR) -o $@.$(MAJOR).$(MINOR) mdb.lo midl.lo $(SOLIBS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue