Use pkgconfig to detect and configure liblttng-ust
[lttng-tools.git] / tests / regression / ust / daemon / Makefile.am
index cc63b63b744c1b45b589bad8bfcde31d4c5daf46..632f131d89f92d5790849c7d87360e367789c1c1 100644 (file)
@@ -2,14 +2,7 @@ AM_CPPFLAGS += -I$(srcdir)
 
 noinst_PROGRAMS = daemon
 daemon_SOURCES = daemon.c ust_tests_daemon.h
-daemon_LDADD = -llttng-ust -llttng-ust-fork
-
-if LTTNG_TOOLS_BUILD_WITH_LIBDL
-daemon_LDADD += -ldl
-endif
-if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-daemon_LDADD += -lc
-endif
+daemon_LDADD = $(UST_LIBS) -llttng-ust-fork $(DL_LIBS)
 
 noinst_SCRIPTS = test_daemon test_daemon.py
 EXTRA_DIST = test_daemon test_daemon.py
This page took 0.024031 seconds and 4 git commands to generate.