summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/cluster.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/qpid/cpp/src/cluster.mk b/qpid/cpp/src/cluster.mk
index d2df1a4518..0b62140465 100644
--- a/qpid/cpp/src/cluster.mk
+++ b/qpid/cpp/src/cluster.mk
@@ -1,10 +1,10 @@
#
# Cluster library makefile fragment, to be included in Makefile.am
#
-dmodule_LTLIBRARIES += cluster.la
-
if CPG
+dmodule_LTLIBRARIES += cluster.la
+
cluster_la_SOURCES = \
qpid/cluster/types.h \
qpid/cluster/Cluster.cpp \
@@ -34,6 +34,7 @@ cluster_la_SOURCES = \
cluster_la_LIBADD= -lcpg libqpidbroker.la libqpidclient.la
+cluster_la_LDFLAGS = $(PLUGINLDFLAGS)
+
endif
-cluster_la_LDFLAGS = $(PLUGINLDFLAGS)