Use CC/LDFLAGS to link the shared lib

This commit is contained in:
Howard Chu 2013-02-25 05:06:51 -08:00
parent d8b407d9a2
commit 6dab37f2ac

View File

@ -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