Cleanup: dlmopen detection
[lttng-tools.git] / tests / regression / ust / daemon / Makefile.am
index 76a34ef07eb7cb41a4919dd0eb6ebfd1bd963e45..1a52b634b0e8e1ea1a9ff53b6c01006e3bcf106d 100644 (file)
@@ -1,15 +1,8 @@
-AM_CPPFLAGS = -I$(srcdir)
+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.024666 seconds and 5 git commands to generate.