Skip to contentSkip to conversation

fix: Use DL_LIBS variable in ust multi-lib test

PATCH Jérémie Galarneau 1 participant 1 message Nov 5, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Merged in master.

Thanks!
Jérémie

Quoted 26 lines · Michael Jeanson
---
 tests/regression/ust/multi-lib/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tests/regression/ust/multi-lib/Makefile.am +2 -2
index 0ce46a7ff..52a1635c2 100644
@@ -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
 
Signature · 1 line
2.17.1