diff mbox series

libtraceevent: Export LIBS variable in Makefile

Message ID 20211217002015.28d80525@oasis.local.home (mailing list archive)
State Accepted
Commit dacb4f7d79af9e8ad4fa938cec921bdd6c978f13
Headers show
Series libtraceevent: Export LIBS variable in Makefile | expand

Commit Message

Steven Rostedt Dec. 17, 2021, 5:20 a.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

The rewrite of the Makefile left out exporting LIBS and this caused the
libraries not to include the -ldl library, which would have unresolved
symbols for code that included it (like ldopen() and friends)

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index b26b0d5..80b3107 100644
--- a/Makefile
+++ b/Makefile
@@ -131,6 +131,7 @@  else
 endif
 
 LIBS = -ldl
+export LIBS
 
 set_plugin_dir := 1