X-Git-Url: http://git.liburcu.org/?p=lttng-ust.git;a=blobdiff_plain;f=tests%2Fhello-many%2FMakefile.am;h=ee64822551a3f83e98c71484d4df05e0a077f769;hp=338b7986cfa09b8f4cf7af0083519f7eb9d96d5f;hb=9d4d2a639afc19a1bd705ea560782917ac892596;hpb=a424659d23d52532edcbd642d5be62e1b9888477 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