Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
831e7056
Commit
831e7056
authored
Aug 19, 2016
by
Howard Chu
Committed by
Hallvard Furuseth
Dec 15, 2016
Browse files
ITS
#8481
make shared lib suffix overridable
parent
7dab8497
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/Makefile
View file @
831e7056
...
...
@@ -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
IDOCS
=
mdb_stat.1 mdb_copy.1 mdb_dump.1 mdb_load.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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment