[lttng-dev] [PATCH lttng-tools] Fix link: move -lrt at the end of the link line
Simon Marchi
simon.marchi at polymtl.ca
Sun Mar 31 14:40:18 EDT 2013
It has to be after libconsumer.la.
Signed-off-by: Simon Marchi <simon.marchi at polymtl.ca>
---
src/bin/lttng-consumerd/Makefile.am | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/bin/lttng-consumerd/Makefile.am b/src/bin/lttng-consumerd/Makefile.am
index a418eb4..d340c68 100644
--- a/src/bin/lttng-consumerd/Makefile.am
+++ b/src/bin/lttng-consumerd/Makefile.am
@@ -4,10 +4,11 @@ lttnglibexec_PROGRAMS = lttng-consumerd
lttng_consumerd_SOURCES = lttng-consumerd.c lttng-consumerd.h
-lttng_consumerd_LDADD = -lrt \
+lttng_consumerd_LDADD = \
$(top_builddir)/src/common/libconsumer.la \
$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la \
- $(top_builddir)/src/common/libcommon.la
+ $(top_builddir)/src/common/libcommon.la \
+ -lrt
if HAVE_LIBLTTNG_UST_CTL
lttng_consumerd_LDADD += -llttng-ust-ctl
--
1.7.10.4
More information about the lttng-dev
mailing list