X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fdlopen%2FMakefile.am;h=89fd9dbfc57b993a16d700654b4cd429cbb76247;hb=5cbd73b809f24c435cc4b4523e8add1fda3acfb5;hp=de05346c710b37251d2861946f169d8c4d4b6d79;hpb=40af798b1df71a39b748f83e70bcccf7ded79cb1;p=lttng-ust.git diff --git a/tests/dlopen/Makefile.am b/tests/dlopen/Makefile.am index de05346c..89fd9dbf 100644 --- a/tests/dlopen/Makefile.am +++ b/tests/dlopen/Makefile.am @@ -6,14 +6,7 @@ libdummy_la_SOURCES = libdummy.c libdummy_la_LIBADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o libdummy_la_LDFLAGS = -rpath /nowhere dlopen_SOURCES = dlopen.c -dlopen_LDADD = $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o - -if LTTNG_UST_BUILD_WITH_LIBDL -dlopen_LDADD += -ldl -endif -if LTTNG_UST_BUILD_WITH_LIBC_DL -dlopen_LDADD += -lc -endif +dlopen_LDADD = -ldl $(top_builddir)/libust/libust.la $(top_builddir)/libust-initializer.o noinst_SCRIPTS = run EXTRA_DIST = run