Link lttng executable on libcommon-lgpl.a
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 12 Jan 2022 20:23:09 +0000 (15:23 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 20 Jan 2022 19:45:26 +0000 (14:45 -0500)
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 <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ie6f864dccdd61f896a7e238e202dc6188ec4f9c5

src/bin/lttng/Makefile.am

index 1d153e7a72add99f08653e3803cca6fef5a92edd..098aef5c13f8b4e5eb99bdd988cf106d39a307de 100644 (file)
@@ -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 \
This page took 0.032992 seconds and 4 git commands to generate.