Skip to contentSkip to conversation

libtraceevent: Export LIBS variable in Makefile

PATCH New Steven Rostedt 1 participant 1 message Dec 17, 2021 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtraceevent: Export LIBS variable in Makefile

From: "Steven Rostedt (VMware)" <[email protected]>

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)

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index b26b0d5..80b3107 100644
@@ -131,6 +131,7 @@ else
 endif
 
 LIBS = -ldl
+export LIBS
 
 set_plugin_dir := 1
 
Signature · 1 line
2.31.1