Use CC/LDFLAGS to link the shared lib

vmware LMDB_0.9.6
Howard Chu 12 years ago
parent d8b407d9a2
commit 6dab37f2ac
  1. 2
      libraries/liblmdb/Makefile

@ -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…
Cancel
Save