[PATCH] libtraceevent: Export LIBS variable in Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx>

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@xxxxxxxxxxx>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

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
 
-- 
2.31.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux