From 4e8fa55be8937805621fad9ff289e5affc2ef71b Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 22 Apr 2013 14:54:25 -0400 Subject: [PATCH] Fix: linking order of libraries Signed-off-by: David Goulet --- 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 a418eb4ac..d340c68ba 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 -- 2.34.1