X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fhello-many%2FMakefile.am;h=ee64822551a3f83e98c71484d4df05e0a077f769;hb=57aff1c0cf6029088ea77d69ee7d5c83527c4cf1;hp=338b7986cfa09b8f4cf7af0083519f7eb9d96d5f;hpb=69d6ee6e54c463d2673a1c7809c12b4b8d7ff382;p=lttng-ust.git diff --git a/tests/hello-many/Makefile.am b/tests/hello-many/Makefile.am index 338b7986..ee648225 100644 --- a/tests/hello-many/Makefile.am +++ b/tests/hello-many/Makefile.am @@ -2,12 +2,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include -Wsystem-headers noinst_PROGRAMS = hello-many hello_many_SOURCES = hello-many.c tp.c ust_tests_hello_many.h -hello_many_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la +hello_many_LDADD = $(top_builddir)/liblttng-ust/liblttng-ust.la $(DL_LIBS) hello_many_CFLAGS = -Werror=old-style-definition $(AM_CFLAGS) - -if LTTNG_UST_BUILD_WITH_LIBDL -hello_many_LDADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -hello_many_LDADD += -lc -endif