[sheepdog] [PATCH]] fix compilation on ubuntu by adding lib coroipcc to LDADD

Thomas Merkel tm at core.io
Mon Aug 13 21:13:01 CEST 2012



Signed-off-by: Thomas Merkel <tm at core.io>
---
 configure.ac      |    1 +
 sheep/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 91126e2..0ebe852 100644
--- a/configure.ac
+++ b/configure.ac
@@ -258,6 +258,7 @@ if test "x${enable_corosync}" = xyes; then
 	PKG_CHECK_MODULES([corosync],[corosync])
 	PKG_CHECK_MODULES([libcpg],[libcpg])
 	PKG_CHECK_MODULES([libcfg],[libcfg])
+	PKG_CHECK_MODULES([libcoroipcc],[libcoroipcc])
 	AC_DEFINE_UNQUOTED([HAVE_COROSYNC], 1, [have corosync])
 	PACKAGE_FEATURES="$PACKAGE_FEATURES corosync"
 fi
diff --git a/sheep/Makefile.am b/sheep/Makefile.am
index 16c79f0..f425190 100644
--- a/sheep/Makefile.am
+++ b/sheep/Makefile.am
@@ -45,7 +45,7 @@ sheep_SOURCES		+= trace/trace.c trace/mcount.S trace/stabs.c trace/graph.c
 endif
 
 sheep_LDADD	  	= ../lib/libsheepdog.a -lpthread \
-			  $(libcpg_LIBS) $(libcfg_LIBS) $(libacrd_LIBS) $(LIBS)
+			  $(libcpg_LIBS) $(libcfg_LIBS) $(libacrd_LIBS) $(libcoroipcc_LIBS) $(LIBS)
 sheep_DEPENDENCIES	= ../lib/libsheepdog.a
 
 
-- 
1.7.9.5





More information about the sheepdog mailing list