summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings/qmf2
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2012-12-06 16:53:25 +0000
committerGordon Sim <gsim@apache.org>2012-12-06 16:53:25 +0000
commitfe1fca626713e731c36aed958b469e98110a8f0c (patch)
tree43092c1738a34b142b544317eb16ffc5df5c452e /qpid/cpp/bindings/qmf2
parentd04463af5a5632ac57e4f13c1f78b48506ce085d (diff)
downloadqpid-python-fe1fca626713e731c36aed958b469e98110a8f0c.tar.gz
QPID-3723: further refinement to the change to link against the .la files, rather than use the unqualified lib names
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418000 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf2')
-rw-r--r--qpid/cpp/bindings/qmf2/examples/cpp/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/qpid/cpp/bindings/qmf2/examples/cpp/Makefile.am b/qpid/cpp/bindings/qmf2/examples/cpp/Makefile.am
index b0321d4e5d..8bf56ead91 100644
--- a/qpid/cpp/bindings/qmf2/examples/cpp/Makefile.am
+++ b/qpid/cpp/bindings/qmf2/examples/cpp/Makefile.am
@@ -21,16 +21,19 @@ INCLUDE = -I$(top_srcdir)/include
AM_CPPFLAGS = $(INCLUDE)
+TYPES_LIB=$(top_builddir)/src/libqpidtypes.la
+MESSAGING_LIB=$(top_builddir)/src/libqpidmessaging.la
+
noinst_PROGRAMS=agent event_driven_list_agents list_agents print_events
agent_SOURCES=agent.cpp
-agent_LDADD=$(top_builddir)/src/libqmf2.la -lqpidtypes -lqpidmessaging
+agent_LDADD=$(top_builddir)/src/libqmf2.la $(TYPES_LIB) $(MESSAGING_LIB)
list_agents_SOURCES=list_agents.cpp
-list_agents_LDADD=$(top_builddir)/src/libqmf2.la -lqpidmessaging
+list_agents_LDADD=$(top_builddir)/src/libqmf2.la $(MESSAGING_LIB)
event_driven_list_agents_SOURCES=event_driven_list_agents.cpp
-event_driven_list_agents_LDADD=$(top_builddir)/src/libqmf2.la -lqpidmessaging
+event_driven_list_agents_LDADD=$(top_builddir)/src/libqmf2.la $(MESSAGING_LIB)
print_events_SOURCES=print_events.cpp
-print_events_LDADD=$(top_builddir)/src/libqmf2.la -lqpidtypes -lqpidmessaging
+print_events_LDADD=$(top_builddir)/src/libqmf2.la $(TYPES_LIB) $(MESSAGING_LIB)