From 4431404c154500a7b61612d0da432960cf51263b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 20 Jun 2007 22:19:10 +0000 Subject: Dummy libcluster.so when openais is not available, keep rpmbuild happy. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@549277 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/cluster.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'cpp/src/cluster.mk') diff --git a/cpp/src/cluster.mk b/cpp/src/cluster.mk index 3658ee91b5..d5b0bed97f 100644 --- a/cpp/src/cluster.mk +++ b/cpp/src/cluster.mk @@ -1,11 +1,16 @@ #-*-Makefile-*- # Cluster library makefile fragment, to be included in Makefile.am # - lib_LTLIBRARIES += libqpidcluster.la +if CLUSTER + libqpidcluster_la_SOURCES = \ qpid/cluster/Cpg.cpp \ qpid/cluster/Cpg.h - libqpidcluster_la_LIBADD= -lcpg + +else +# Empty stub library to satisfy rpm spec file. +libqpidcluster_la_SOURCES = +endif -- cgit v1.2.1