X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ftype-declarations%2FMakefile.am;h=dd4eda26bfba225dffd8102e06c97b9017732a61;hb=20dd2de1fa1efe1519d1b6e88386efa89d60d1b9;hp=593f6dc36f030b77d8bd230f0ab59cf84fd68c70;hpb=343af227102f6b274bfd7f6c7220eb3b776ba5e3;p=lttng-tools.git diff --git a/tests/regression/ust/type-declarations/Makefile.am b/tests/regression/ust/type-declarations/Makefile.am index 593f6dc36..dd4eda26b 100644 --- a/tests/regression/ust/type-declarations/Makefile.am +++ b/tests/regression/ust/type-declarations/Makefile.am @@ -2,14 +2,8 @@ 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 = $(UST_LIBS) $(DL_LIBS) +type_declarations_CPPFLAGS = $(UST_CFLAGS) $(DL_CFLAGS) $(AM_CPPFLAGS) noinst_SCRIPTS = test_type_declarations test_type_declarations.py EXTRA_DIST = test_type_declarations test_type_declarations.py