From: Michael Jeanson Date: Tue, 19 Mar 2019 20:56:03 +0000 (-0400) Subject: Fix tests: link libpause_consumer on liblttng-ctl X-Git-Tag: v2.10.7~15 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d7f634f27a26a84e74dcc0db9357fb703fa32f9e;p=lttng-tools.git Fix tests: link libpause_consumer on liblttng-ctl This preload test library uses symbols from liblttng-ctl which are resolved when preloaded by GLIBC but not by MUSL. Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/notification/Makefile.am b/tests/regression/tools/notification/Makefile.am index 41adc6933..abf499c12 100644 --- a/tests/regression/tools/notification/Makefile.am +++ b/tests/regression/tools/notification/Makefile.am @@ -20,7 +20,10 @@ FORCE_SHARED_LIB_OPTIONS = -module -shared -avoid-version \ -rpath $(abs_builddir) libpause_consumer_la_SOURCES = consumer_testpoints.c -libpause_consumer_la_LIBADD = $(top_builddir)/src/common/libcommon.la $(DL_LIBS) +libpause_consumer_la_LIBADD = \ + $(top_builddir)/src/common/libcommon.la \ + $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \ + $(DL_LIBS) libpause_consumer_la_LDFLAGS = $(FORCE_SHARED_LIB_OPTIONS) noinst_LTLIBRARIES = libpause_consumer.la