Use pkgconfig to detect and configure liblttng-ust
[lttng-tools.git] / src / common / ust-consumer / Makefile.am
index 478aae79323993ba5e4805303fc72ece78a7a875..1df8b53c0836b2857ba7a3e85ac3658b03e83a4e 100644 (file)
@@ -1,8 +1,11 @@
 if HAVE_LIBLTTNG_UST_CTL
+
 noinst_LTLIBRARIES = libust-consumer.la
 
-libust_consumer_la_SOURCES = ust-consumer.c
+libust_consumer_la_SOURCES = ust-consumer.c ust-consumer.h
 
-libust_consumer_la_LIBADD = -llttng-ust-ctl
+libust_consumer_la_LIBADD = \
+                       $(UST_CTL_LIBS) \
+                       $(top_builddir)/src/common/relayd/librelayd.la
 
 endif
This page took 0.023541 seconds and 4 git commands to generate.