summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/cluster.mk
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-06-20 22:19:10 +0000
committerAlan Conway <aconway@apache.org>2007-06-20 22:19:10 +0000
commit02138c2d3e669ee0d1d07414518010810be2d8c1 (patch)
tree798e764f7c897033ecadc2226c55aae1df084a46 /qpid/cpp/src/cluster.mk
parentd9740561181713f422b22549c0fd45c586f76066 (diff)
downloadqpid-python-02138c2d3e669ee0d1d07414518010810be2d8c1.tar.gz
Dummy libcluster.so when openais is not available, keep rpmbuild happy.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@549277 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/cluster.mk')
-rw-r--r--qpid/cpp/src/cluster.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/qpid/cpp/src/cluster.mk b/qpid/cpp/src/cluster.mk
index 3658ee91b5..d5b0bed97f 100644
--- a/qpid/cpp/src/cluster.mk
+++ b/qpid/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