Skip to contentSkip to conversation

libtracefs: Force unit test to use local library

PATCH Superseded Tzvetomir Stoyanov (VMware) 1 participant 1 message Dec 21, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtracefs: Force unit test to use local library

Unit test must test the library located in thre

---
 utest/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utest/Makefile +1 -1
index 6505a3e..403540a 100644
@@ -12,7 +12,7 @@ OBJS += tracefs-utest.o
 
 LIBS += -lcunit				\
 	-ldl				\
-	-L$(bdir) -ltracefs
+	-L$(obj)/lib/tracefs -ltracefs
 
 OBJS := $(OBJS:%.o=$(bdir)/%.o)
 DEPS := $(OBJS:$(bdir)/%.o=$(bdir)/.%.d)
Signature · 1 line
2.28.0