-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
-
lttnglibexec_PROGRAMS = lttng-consumerd
lttng_consumerd_SOURCES = lttng-consumerd.c \
$(top_builddir)/src/common/health/libhealth.la \
$(top_builddir)/src/common/testpoint/libtestpoint.la
+lttng_consumerd_LDFLAGS = -rdynamic
+
if HAVE_LIBLTTNG_UST_CTL
lttng_consumerd_LDADD += -llttng-ust-ctl
endif