From: Mathieu Desnoyers Date: Wed, 12 Jan 2022 20:23:09 +0000 (-0500) Subject: Link lttng executable on libcommon-lgpl.a X-Git-Tag: v2.13.3~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=a0ca32fb9091fd38038803ab1e167d333fb9443b;p=lttng-tools.git Link lttng executable on libcommon-lgpl.a 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 --- diff --git a/src/bin/lttng/Makefile.am b/src/bin/lttng/Makefile.am index f7e786b1f..8c4f139ee 100644 --- a/src/bin/lttng/Makefile.am +++ b/src/bin/lttng/Makefile.am @@ -39,7 +39,7 @@ lttng_SOURCES = command.h conf.c conf.h commands/start.c \ lttng_CFLAGS = $(AM_CFLAGS) $(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 \