From: Howard Chu Date: Mon, 25 Feb 2013 13:06:51 +0000 (-0800) Subject: Use CC/LDFLAGS to link the shared lib X-Git-Tag: OPENLDAP_REL_ENG_2_4_35~26^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6dab37f2acaef70a31f65bd485fd2222c2648d2b;p=openldap Use CC/LDFLAGS to link the shared lib --- 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