if HAVE_LIBLTTNG_UST_CTL
+
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
+
noinst_LTLIBRARIES = libust-consumer.la
libust_consumer_la_SOURCES = ust-consumer.c ust-consumer.h
-libust_consumer_la_LIBADD = -llttng-ust-ctl
+libust_consumer_la_LIBADD = \
+ -llttng-ust-ctl \
+ $(top_builddir)/src/common/relayd/librelayd.la
endif