From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> libtracefs.so relies on libtraceevent.so, but it an application were to include libtracefs.so, it should not be required to include libtraceevent.so if that application is not using it. Add the libtraceevent library to the build of libtracefs.so so that what libtracefs.so uses is included in that code. Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> --- scripts/utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.mk b/scripts/utils.mk index d1d5135063fc..1ee283fe4393 100644 --- a/scripts/utils.mk +++ b/scripts/utils.mk @@ -61,7 +61,7 @@ do_build_static_lib = \ do_compile_shared_library = \ ($(print_shared_lib_compile) \ - $(CC) --shared $^ -Wl,-soname,$(@F) -o $@) + $(CC) --shared $^ -Wl,-soname,$(@F) -o $@ $(LIBS)) do_compile_plugin_obj = \ ($(print_plugin_obj_compile) \ -- 2.28.0