Cleanup: dlmopen detection
[lttng-tools.git] / tests / regression / tools / filtering / Makefile.am
index 712edefb63c7cec039a475e9882071c1ea13a7bc..b214fc1d69c0be70d554547bccafb3ab70ee0edb 100644 (file)
@@ -1,16 +1,9 @@
 AM_CPPFLAGS += -I$(top_srcdir)/tests -I$(srcdir)
 
-if LTTNG_TOOLS_BUILD_WITH_LIBDL
-LIBS += -ldl
-endif
-if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-LIBS += -lc
-endif
-
 if HAVE_LIBLTTNG_UST_CTL
 noinst_PROGRAMS = gen-ust-events
 gen_ust_events_SOURCES = gen-ust-events.c tp.c tp.h
-gen_ust_events_LDADD = -llttng-ust -lurcu-bp
+gen_ust_events_LDADD = -llttng-ust -lurcu-bp $(DL_LIBS)
 endif
 
 noinst_SCRIPTS = test_unsupported_op test_invalid_filter test_valid_filter
This page took 0.025971 seconds and 5 git commands to generate.