X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Ftype-declarations%2FMakefile.am;h=db39b1cc3aac4e6c79bbb122d07cd41f2cb14fe0;hb=b1c46f877df8d424d82125f32e2dabd651280f3b;hp=be4978be32fd7186dbbc59a67d4268f391cda035;hpb=10b56aefc3e1de5cee607994f64c3b8a7d85c391;p=lttng-tools.git diff --git a/tests/regression/ust/type-declarations/Makefile.am b/tests/regression/ust/type-declarations/Makefile.am index be4978be3..db39b1cc3 100644 --- a/tests/regression/ust/type-declarations/Makefile.am +++ b/tests/regression/ust/type-declarations/Makefile.am @@ -1,15 +1,8 @@ -AM_CPPFLAGS = -I$(srcdir) +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