From: David Goulet Date: Mon, 22 Apr 2013 18:54:25 +0000 (-0400) Subject: Fix: linking order of libraries X-Git-Tag: v2.2.0-rc2~40 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4e8fa55be8937805621fad9ff289e5affc2ef71b;p=lttng-tools.git Fix: linking order of libraries Signed-off-by: David Goulet --- 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