X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fcli%2FMakefile.am;h=2428b489e62d6a9e320c05ec91ebd759ed5a2175;hp=cda8977f046b9e7b4bdedb2b604c682bb3a05fe9;hb=0b0893d4a069f17d1326ebc3bfc9f9f987f411f3;hpb=3725ce94ae60136f22d7986ca96f0a67d6be62e5 diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am index cda8977f..2428b489 100644 --- a/src/cli/Makefile.am +++ b/src/cli/Makefile.am @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: MIT + PLUGINS_PATH = $(abs_top_builddir)/src/plugins LTTNG_UTILS_PLUGIN_PATH = @@ -42,7 +44,7 @@ babeltrace2_bin_SOURCES = \ # -Wl,--no-as-needed is needed for recent gold linker who seems to think # it knows better and considers libraries with constructors having # side-effects as dead code. -babeltrace2_bin_LDFLAGS = $(LD_NO_AS_NEEDED) +babeltrace2_bin_LDFLAGS = $(AM_LDFLAGS) $(LD_NO_AS_NEEDED) # Add all the convenience libraries used by Babeltrace plugins and the # library. They will be used when embedding plugins (--enable-built-in-plugins), @@ -52,9 +54,10 @@ babeltrace2_bin_LDFLAGS = $(LD_NO_AS_NEEDED) # not discard the plugins since the CLI does not use their symbols # directly). babeltrace2_bin_LDADD = \ - $(top_builddir)/src/argpar/libbabeltrace2-argpar.la \ + $(top_builddir)/src/argpar/libargpar.la \ $(top_builddir)/src/autodisc/libbabeltrace2-autodisc.la \ $(top_builddir)/src/param-parse/libbabeltrace2-param-parse.la \ + $(top_builddir)/src/string-format/libbabeltrace2-string-format.la \ $(top_builddir)/src/lib/libbabeltrace2.la \ $(top_builddir)/src/compat/libcompat.la \ $(top_builddir)/src/common/libbabeltrace2-common.la \