[PATCH] libtraceevent: Makefile - set LIBS as conditional assignment

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

 



Need a way to override LIBS during certain compile operations (read:
clang seemingly), so adjusting this so that LIBS can be defined and
allow for overriding with specific intent to support package builds.

Signed-off-by: John 'Warthog9' Hawley (VMware) <warthog9@xxxxxxxxxxxxxx>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 4d9289d..a320523 100644
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@ else
   CFLAGS := -g -Wall
 endif
 
-LIBS = -ldl
+LIBS ?= -ldl
 export LIBS
 
 set_plugin_dir := 1
-- 
2.37.1




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

  Powered by Linux