fix: add dependency between cli bin and plugins when built-in
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 2 Mar 2022 18:25:05 +0000 (13:25 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 10 Mar 2022 19:56:13 +0000 (14:56 -0500)
commit53a47a3f01d6bfa4e940e1943e7645cb89d04cd5
treeec7185c7569bf9e0664adb10d12be1d1130964dd
parentfa7c1d4f80d7b2bfde17570ee44a5c7b63b81f52
fix: add dependency between cli bin and plugins when built-in

When building with '--enable-built-in-plugins' we use some linker
trickery to embed the plugins in the cli binary. The automake build
system is however unaware of this dependency and won't trigger a
relinking when a plugin is modified.

Use the  EXTRA_*_DEPENDENCIES [1] variable to add explicit dependencies
between the cli binary and each embedded plugin.

[1] https://www.gnu.org/software/automake/manual/html_node/Program-and-Library-Variables.html

Fixes #1237

Change-Id: Ib989edcc083c55509f4a990d90948761a18fc1d0
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/7464
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/cli/Makefile.am
This page took 0.02422 seconds and 4 git commands to generate.