From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> The Makefile includes a LIBS = -ldl, which was copied over from trace-cmd and is not needed for libtracefs as there's no dynamic linking going on. Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index c5b13ca869b7..ff95748c0684 100644 --- a/Makefile +++ b/Makefile @@ -124,8 +124,6 @@ bdir := $(obj)/lib/tracefs export prefix bindir src obj -LIBS = -ldl - LIBTRACEFS_DIR = $(obj)/lib/tracefs LIBTRACEFS_STATIC = $(LIBTRACEFS_DIR)/libtracefs.a LIBTRACEFS_SHARED = $(LIBTRACEFS_DIR)/libtracefs.so.$(TRACEFS_VERSION) -- 2.28.0