[Ocfs2-tools-devel] [PATCH] Change the pkg-config for ocfs2 to include libaio

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


libocfs2 now require libaio. Include it in the pkg-config file so
library detection for ocfs2-test can be done using pkg-config.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
---
 ocfs2.pc.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ocfs2.pc.in b/ocfs2.pc.in
index 54c4bb1..cdd6c56 100644
--- a/ocfs2.pc.in
+++ b/ocfs2.pc.in
@@ -7,5 +7,5 @@ Name: ocfs2
 Description: Userspace ocfs2 library
 Version: @VERSION@
 Requires: o2dlm o2cb com_err
-Libs: -L${libdir} -locfs2
+Libs: -L${libdir} -locfs2 -laio
 Cflags: -I${includedir}
-- 
1.8.1.4


-- 
Goldwyn



More information about the Ocfs2-tools-devel mailing list