X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-consumerd%2FMakefile.am;h=0659a34a0b3469c41c077fa11d4fd09d67167d67;hb=44cdb3a261262ebabea3fb0cae9360ac05e66f2c;hp=7c6b0275ec823a7eb23674926bc252824ee30b36;hpb=c8fea79c745d42ea8143b7020ae11b4fc2da0d8a;p=lttng-tools.git diff --git a/src/bin/lttng-consumerd/Makefile.am b/src/bin/lttng-consumerd/Makefile.am index 7c6b0275e..0659a34a0 100644 --- a/src/bin/lttng-consumerd/Makefile.am +++ b/src/bin/lttng-consumerd/Makefile.am @@ -1,5 +1,3 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src - lttnglibexec_PROGRAMS = lttng-consumerd lttng_consumerd_SOURCES = lttng-consumerd.c \ @@ -13,9 +11,10 @@ lttng_consumerd_LDADD = \ $(top_builddir)/src/common/libcommon.la \ $(top_builddir)/src/common/index/libindex.la \ $(top_builddir)/src/common/health/libhealth.la \ - $(top_builddir)/src/common/testpoint/libtestpoint.la \ - -lrt + $(top_builddir)/src/common/testpoint/libtestpoint.la + +lttng_consumerd_LDFLAGS = -rdynamic if HAVE_LIBLTTNG_UST_CTL -lttng_consumerd_LDADD += -llttng-ust-ctl +lttng_consumerd_LDADD += $(UST_CTL_LIBS) endif