[Ocfs2-test-devel] [PATCH 13/59] aio-stress: fix aio-stress Makefile to link pthread explicitly.

Junxiao Bi junxiao.bi at oracle.com
Sun Sep 13 19:43:59 PDT 2015


From: Jeff Liu <jeff.liu at oracle.com>

Signed-off-by: Jie Liu <jeff.liu at oracle.com>
Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com>
---
 programs/aio-stress/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/aio-stress/Makefile b/programs/aio-stress/Makefile
index 9d179e2..5e10e18 100644
--- a/programs/aio-stress/Makefile
+++ b/programs/aio-stress/Makefile
@@ -14,6 +14,6 @@ OBJECTS = $(patsubst %.c,%.o,$(SOURCES))
 DIST_FILES = $(SOURCES)
   
 aio-stress: $(OBJECTS)
-	$(LINK) -laio
+	$(LINK) -laio -lpthread
 
 include $(TOPDIR)/Postamble.make
-- 
1.7.9.5




More information about the Ocfs2-test-devel mailing list