[Ocfs2-tools-devel] [PATCH] Include libaio while building ocfs2console

Goldwyn Rodrigues rgoldwyn at suse.de
Mon Sep 30 06:54:36 PDT 2013


libocfs2 now requires libaio as well because of Asynchronous I/O
functions implementations. Include it while building ocfs2console.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
---
 ocfs2console/ocfs2interface/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ocfs2console/ocfs2interface/Makefile b/ocfs2console/ocfs2interface/Makefile
index c5dfea3..63fb56f 100644
--- a/ocfs2console/ocfs2interface/Makefile
+++ b/ocfs2console/ocfs2interface/Makefile
@@ -8,7 +8,7 @@ CFLAGS += -fPIC
 
 PYMOD_CFLAGS = -fno-strict-aliasing $(PYTHON_INCLUDES)
 
-LIBOCFS2_LIBS = -L$(TOPDIR)/libocfs2 -locfs2
+LIBOCFS2_LIBS = -L$(TOPDIR)/libocfs2 -locfs2 -laio
 LIBOCFS2_DEPS = $(TOPDIR)/libocfs2/libocfs2.a
 
 LIBO2DLM_LIBS = -L$(TOPDIR)/libo2dlm -lo2dlm $(DL_LIBS)
-- 
1.8.1.4


-- 
Goldwyn



More information about the Ocfs2-tools-devel mailing list