diff mbox series

[1/2] libtracefs: Remove useless LIBS = -ldl in Makefile

Message ID 20201203190741.005563058@goodmis.org (mailing list archive)
State Accepted
Headers show
Series libtracefs: Library building fixes | expand

Commit Message

Steven Rostedt Dec. 3, 2020, 7:06 p.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

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@goodmis.org>
---
 Makefile | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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)