From: orbea Date: Thu, 13 May 2021 18:07:58 +0000 (-0700) Subject: build: Use liblttng-sessiond-common.la instead of LIVE X-Git-Tag: v2.13.0-rc3~62 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8a2a2476b506a74d62a4542c567407963c5692b4;p=lttng-tools.git build: Use liblttng-sessiond-common.la instead of LIVE This allow correctly linking live_test with slibtool. Signed-off-by: orbea Signed-off-by: Jérémie Galarneau Change-Id: Ie429aa36b817a3d5b22bb4bbe3d21a82c65ffdaa --- diff --git a/tests/regression/tools/live/Makefile.am b/tests/regression/tools/live/Makefile.am index 94333fd3b..1587deb12 100644 --- a/tests/regression/tools/live/Makefile.am +++ b/tests/regression/tools/live/Makefile.am @@ -10,11 +10,7 @@ LIBHASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la LIBRELAYD=$(top_builddir)/src/common/relayd/librelayd.la LIBHEALTH=$(top_builddir)/src/common/health/libhealth.la LIBCOMPAT=$(top_builddir)/src/common/compat/libcompat.la - -LIVE= $(top_builddir)/src/bin/lttng-sessiond/consumer.$(OBJEXT) \ - $(top_builddir)/src/bin/lttng-sessiond/globals.$(OBJEXT) \ - $(top_builddir)/src/bin/lttng-sessiond/utils.$(OBJEXT) \ - $(top_builddir)/src/bin/lttng-sessiond/snapshot.$(OBJEXT) +LIBLTTNG_SESSIOND_COMMON=$(top_builddir)/src/bin/lttng-sessiond/liblttng-sessiond-common.la noinst_PROGRAMS = live_test EXTRA_DIST = test_kernel test_lttng_kernel @@ -24,10 +20,7 @@ EXTRA_DIST += test_ust test_ust_tracefile_count test_lttng_ust endif live_test_SOURCES = live_test.c -live_test_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBRELAYD) $(LIBSESSIOND_COMM) \ - $(LIBHASHTABLE) $(LIBHEALTH) $(DL_LIBS) $(LIBCOMPAT) -lrt -live_test_LDADD += $(LIVE) \ - $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la +live_test_LDADD = $(LIBTAP) $(LIBLTTNG_SESSIOND_COMMON) $(DL_LIBS) all-local: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \