From 6dab37f2acaef70a31f65bd485fd2222c2648d2b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 25 Feb 2013 05:06:51 -0800 Subject: [PATCH] Use CC/LDFLAGS to link the shared lib --- libraries/liblmdb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/Makefile b/libraries/liblmdb/Makefile index 4ff16df01b..7c3903bdff 100644 --- a/libraries/liblmdb/Makefile +++ b/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 -- 2.39.5