Cleanup: dlmopen detection
[lttng-tools.git] / tests / regression / ust / daemon / Makefile.am
index cc63b63b744c1b45b589bad8bfcde31d4c5daf46..1a52b634b0e8e1ea1a9ff53b6c01006e3bcf106d 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 = -llttng-ust -llttng-ust-fork $(DL_LIBS)
 
 noinst_SCRIPTS = test_daemon test_daemon.py
 EXTRA_DIST = test_daemon test_daemon.py
This page took 0.024168 seconds and 5 git commands to generate.