From: Howard Chu Date: Mon, 17 Sep 2012 10:48:54 +0000 (-0700) Subject: Shared lib should depend on pthread X-Git-Tag: OPENLDAP_REL_ENG_2_4_33~17^2~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=076b2b36a97b0d4cf206e517ef63965976ad5f75;p=openldap Shared lib should depend on pthread --- diff --git a/libraries/libmdb/Makefile b/libraries/libmdb/Makefile index 1fde58889c..796be078d4 100644 --- a/libraries/libmdb/Makefile +++ b/libraries/libmdb/Makefile @@ -19,7 +19,7 @@ libmdb.a: mdb.o midl.o ar rs $@ mdb.o midl.o libmdb.so: mdb.o midl.o - gcc -shared -o $@ mdb.o midl.o $(SOLIBS) + gcc -pthread -shared -o $@ mdb.o midl.o $(SOLIBS) mdb_stat: mdb_stat.o libmdb.a mtest: mtest.o libmdb.a