X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=cli%2FMakefile.am;h=195c878ad0b748a001a8a0e62a352370c49bc8dd;hb=11cc4f3de6f143b1d4d5e71338269d54660c60b6;hp=3cd2a1168bf9c6aa760be97bb5d559672170d71a;hpb=b09e9b0f93d75ccb48929823741139b9bb8d7363;p=babeltrace.git diff --git a/cli/Makefile.am b/cli/Makefile.am index 3cd2a116..195c878a 100644 --- a/cli/Makefile.am +++ b/cli/Makefile.am @@ -63,7 +63,7 @@ if ENABLE_BUILT_IN_PLUGINS # binary that are filled by plugin objects. If the linker discards those # symbols because the CLI does not use them directly, the CLI reports # no plugins found (plugins are effectively not embedded). -pluginarchive = -Wl,--whole-archive,$(PLUGINS_PATH)/$(1)/.libs/babeltrace-plugin-$(1).a,--no-whole-archive +pluginarchive = $(LD_WHOLE_ARCHIVE)$(PLUGINS_PATH)/$(1)/.libs/babeltrace-plugin-$(1).a$(LD_NO_WHOLE_ARCHIVE) # Built-in plugins babeltrace_bin_LDFLAGS += $(call pluginarchive,ctf)