mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Use CC/LDFLAGS to link the shared lib
This commit is contained in:
parent
d8b407d9a2
commit
6dab37f2ac
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ liblmdb.a: mdb.o midl.o
|
|||
ar rs $@ mdb.o midl.o
|
||||
|
||||
liblmdb.so: mdb.o midl.o
|
||||
gcc -pthread -shared -o $@ mdb.o midl.o $(SOLIBS)
|
||||
$(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.o midl.o $(SOLIBS)
|
||||
|
||||
mdb_stat: mdb_stat.o liblmdb.a
|
||||
mdb_copy: mdb_copy.o liblmdb.a
|
||||
|
|
|
|||
Loading…
Reference in a new issue