diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2019-07-24 18:48:08 -0700 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-07-25 15:43:32 -0400 |
commit | cb525176be1279034c9a7853a5deea355815e28b (patch) | |
tree | 36104dca205c888119267009e760242725562dc2 | |
parent | 68fd0c5ae4e6d1ade6251d9b186ef3a75683d5ad (diff) | |
download | trace-cmd-cb525176be1279034c9a7853a5deea355815e28b.tar.gz |
trace-cmd: Generate proper soname
The previous soname patch was an earlier version that included the full
path to the build output as the soname (not sure how that happened).
This just uses the basename as the soname, so ld will be able to
properly find the library.
Link: http://lore.kernel.org/linux-trace-devel/20190725014808.3646716-1-chutzpah@gentoo.org
Signed-off-by: Patrick McLean <patrick.mclean@sony.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r-- | scripts/utils.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/utils.mk b/scripts/utils.mk index 9eb127d9..98d7b3c7 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 $^ -Wl,-soname,$@ -o $@) + $(CC) --shared $^ -Wl,-soname,$(@F) -o $@) do_compile_plugin_obj = \ ($(print_plugin_obj_compile) \ |