Use pkgconfig to detect and configure liblttng-ust
[lttng-tools.git] / src / bin / lttng-consumerd / Makefile.am
index acb8d7d44b896ba639245cf8f6a4f05375e6cba8..0659a34a0b3469c41c077fa11d4fd09d67167d67 100644 (file)
@@ -1,5 +1,3 @@
-AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
-
 lttnglibexec_PROGRAMS = lttng-consumerd
 
 lttng_consumerd_SOURCES = lttng-consumerd.c \
@@ -15,6 +13,8 @@ lttng_consumerd_LDADD = \
           $(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
+lttng_consumerd_LDADD += $(UST_CTL_LIBS)
 endif
This page took 0.023258 seconds and 4 git commands to generate.