Shared lib should depend on pthread

This commit is contained in:
Howard Chu 2012-09-17 03:48:54 -07:00
parent c542442c9f
commit 076b2b36a9

View File

@ -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