From 076b2b36a97b0d4cf206e517ef63965976ad5f75 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 17 Sep 2012 03:48:54 -0700 Subject: [PATCH] Shared lib should depend on pthread --- libraries/libmdb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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