libtracecmd: Don't ignore LDFLAGS when linking the shared libs

do_compile_shared_library shouldn't ignore LDFLAGS. That makes it
difficult for packager to follow their distribution packaging
guidelines.

Link: https://lore.kernel.org/linux-trace-devel/20211111180318.499099-1-jmarchan@redhat.com

Fixes: d96b5f00e ("build: Clean up the build output")
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 file changed