diff --git a/libraries/libmdb/Makefile b/libraries/libmdb/Makefile index 1fde588..796be07 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