blob: 10aaf076161d8b965713b9f982aaed624e5f2a6a [file] [log] [blame]
diff --git a/scripts/utils.mk b/scripts/utils.mk
index 9eb127d..98d7b3c 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) \