summaryrefslogtreecommitdiff
path: root/cpp/src/cluster.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/cluster.mk')
-rw-r--r--cpp/src/cluster.mk9
1 files changed, 7 insertions, 2 deletions
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