Add missing -lpthread to the linking arguments of liblustreapi.a
Index: lustre/lustre/tests/Makefile.am
===================================================================
--- lustre.orig/lustre/tests/Makefile.am	2011-03-17 11:19:36.220315409 +0100
+++ lustre/lustre/tests/Makefile.am	2011-03-17 11:21:06.120761199 +0100
@@ -61,7 +61,7 @@
 mmap_sanity_SOURCES= mmap_sanity.c
 
 LIBLUSTREAPI := $(top_builddir)/lustre/utils/liblustreapi.a
-multiop_LDADD=$(LIBLUSTREAPI) -lrt
+multiop_LDADD=$(LIBLUSTREAPI) -lrt -lpthread
 
 ll_dirstripe_verify_SOURCES= ll_dirstripe_verify.c
 ll_dirstripe_verify_LDADD= -L$(top_builddir)/lustre/utils -llustreapi
