From: Michael Jeanson Date: Thu, 24 Oct 2019 15:36:33 +0000 (-0400) Subject: Fix: tests: use DL_LIBS variable in ust multi-lib test X-Git-Tag: v2.12.0-rc1~263 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bba3a92683b093602c843bc1ecc6ca9e92a1033f;p=lttng-tools.git Fix: tests: use DL_LIBS variable in ust multi-lib test Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/ust/multi-lib/Makefile.am b/tests/regression/ust/multi-lib/Makefile.am index 0ce46a7ff..52a1635c2 100644 --- a/tests/regression/ust/multi-lib/Makefile.am +++ b/tests/regression/ust/multi-lib/Makefile.am @@ -3,11 +3,11 @@ EXTRA_DIST = test_multi_lib noinst_PROGRAMS = exec-with-callsites exec-without-callsites exec_with_callsites_SOURCES = multi-lib-test.c callsites.c -exec_with_callsites_LDFLAGS = -ldl $(POPT_LIBS) +exec_with_callsites_LDFLAGS = $(DL_LIBS) $(POPT_LIBS) exec_with_callsites_CFLAGS = $(POPT_CFLAGS) $(AM_CFLAGS) -DHAS_CALLSITES=1 exec_without_callsites_SOURCES = multi-lib-test.c -exec_without_callsites_LDFLAGS = -ldl $(POPT_LIBS) $(UST_LIBS) +exec_without_callsites_LDFLAGS = $(DL_LIBS) $(POPT_LIBS) $(UST_LIBS) exec_without_callsites_LDADD = probes.o exec_without_callsites_CFLAGS = $(POPT_CFLAGS) $(AM_CFLAGS) -DHAS_CALLSITES=0