From: Patrick McLean <patrick.mclean@xxxxxxxx> Currently trace-cmd installs some shared libraries, but does not set a SONAME on these. This often violates distro policies, so it should at least set something. This patch sets it to the name of the file, which is somewhat naieve, but works for many libraries. Generally it should be set to have an ABI version as the extension, so when the developer breaks ABI, they can change the soname. Signed-off-by: Patrick McLean <patrick.mclean@xxxxxxxx> --- scripts/utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.mk b/scripts/utils.mk index 260023a..9eb127d 100644 --- a/scripts/utils.mk +++ b/scripts/utils.mk @@ -54,7 +54,7 @@ do_build_static_lib = \ do_compile_shared_library = \ ($(print_shared_lib_compile) \ - $(CC) --shared $^ -o $@) + $(CC) --shared $^ -Wl,-soname,$@ -o $@) do_compile_plugin_obj = \ ($(print_plugin_obj_compile) \ -- 2.22.0
![]() |