From c46a183e556278a2971dea1e5b87a6b995274bda Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 12 Jan 2022 15:23:09 -0500 Subject: [PATCH] Link lttng executable on libcommon-lgpl.a MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Allows testing whether liblttng-ctl.so has any dependency on libcommon-gpl.a. Will trigger a link-time failure if it is the case. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau Change-Id: Ie6f864dccdd61f896a7e238e202dc6188ec4f9c5 --- src/bin/lttng/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index 1d153e7a7..098aef5c1 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -39,7 +39,7 @@ lttng_SOURCES = command.h conf.cpp conf.h commands/start.cpp \ lttng_CXXFLAGS = $(AM_CXXFLAGS) $(POPT_CFLAGS) lttng_LDADD = $(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la \ - $(top_builddir)/src/common/libcommon-gpl.la \ + $(top_builddir)/src/common/libcommon-lgpl.la \ $(top_builddir)/src/common/config/libconfig.la \ $(top_builddir)/src/common/string-utils/libstring-utils.la \ $(top_builddir)/src/common/filter/libfilter.la \ -- 2.34.1