X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fctf-types%2FMakefile.am;h=42d803f2a409ce6cb3fc7c63ce7703c9e0e2b7b4;hb=9d4d2a639afc19a1bd705ea560782917ac892596;hp=366870ec75aab31cc5b7918cabe8bb4f4e8850f2;hpb=c785c634a51956094130218c2bffeff32756cb69;p=lttng-ust.git diff --git a/tests/ctf-types/Makefile.am b/tests/ctf-types/Makefile.am index 366870ec..42d803f2 100644 --- a/tests/ctf-types/Makefile.am +++ b/tests/ctf-types/Makefile.am @@ -2,12 +2,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -Wsystem-headers noinst_PROGRAMS = ctf-types ctf_types_SOURCES = ctf-types.c tp.c ust_tests_ctf_types.h -ctf_types_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la -ctf_types_CFLAGS = -Werror=old-style-definition - -if LTTNG_UST_BUILD_WITH_LIBDL -ctf_types_LDADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -ctf_types_LDADD += -lc -endif +ctf_types_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS) +ctf_types_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS)