Use pkgconfig to detect and configure liblttng-ust
[lttng-tools.git] / tests / regression / ust / low-throughput / Makefile.am
index 8ce8f24397eae0a4d358a9f623bd1c738ca3c529..aacb83716cd8e8528674c3ad7cad7a3da29d6f07 100644 (file)
@@ -1,15 +1,8 @@
 AM_CPPFLAGS += -I$(srcdir)
 
-if LTTNG_TOOLS_BUILD_WITH_LIBDL
-LIBS += -ldl
-endif
-if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-LIBS += -lc
-endif
-
 noinst_PROGRAMS = gen-events
 gen_events_SOURCES = main.c tp.c tp.h
-gen_events_LDADD = -llttng-ust -lurcu
+gen_events_LDADD = $(UST_LIBS) $(DL_LIBS)
 
 noinst_SCRIPTS = test_low_throughput
 EXTRA_DIST = test_low_throughput
This page took 0.026159 seconds and 5 git commands to generate.