Cleanup: dlmopen detection
[lttng-tools.git] / tests / regression / ust / type-declarations / Makefile.am
index 593f6dc36f030b77d8bd230f0ab59cf84fd68c70..db39b1cc3aac4e6c79bbb122d07cd41f2cb14fe0 100644 (file)
@@ -2,14 +2,7 @@ AM_CPPFLAGS += -I$(srcdir)
 
 noinst_PROGRAMS = type-declarations
 type_declarations_SOURCES = type-declarations.c ust_tests_td.h
-type_declarations_LDADD = -llttng-ust
-
-if LTTNG_TOOLS_BUILD_WITH_LIBDL
-type_declarations_LDADD += -ldl
-endif
-if LTTNG_TOOLS_BUILD_WITH_LIBC_DL
-type_declarations_LDADD += -lc
-endif
+type_declarations_LDADD = -llttng-ust $(DL_LIBS)
 
 noinst_SCRIPTS = test_type_declarations test_type_declarations.py
 EXTRA_DIST = test_type_declarations test_type_declarations.py
This page took 0.023828 seconds and 5 git commands to generate.