libtracefs: Don't ignore LDFLAGS when linking the shared libs
PATCH 1/1 libtracefs: Don't ignore LDFLAGS when linking the shared libs
From: "Jerome Marchand" <[email protected]>
do_compile_shared_library shouldn't ignore LDFLAGS. That makes it difficult for packager to follow their distribution packaging guidelines.
[ Taken from trace-cmd ]
Signed-off-by "Jerome Marchand" <[email protected]>
Signed-off-by Steven Rostedt (VMware) <[email protected]>
--- scripts/utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/utils.mk +1 -1
@@ -56,7 +56,7 @@ do_build_static_lib = \ do_compile_shared_library = \ ($(print_shared_lib_compile) \ - $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LIBS)) + $(CC) --shared $^ '-Wl,-soname,$(1),-rpath=$$ORIGIN' -o $@ $(LDFLAGS) $(LIBS)) do_compile_plugin_obj = \ ($(print_plugin_obj_compile) \
Signature · 1 line
2.31.1