Skip to contentSkip to conversation

libtracefs: Force unit test to use local library

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

lore
Share & tools
lore
#0 lore raw

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

Unit test must test the library located in the sorce tree, instead the one installed in the system.

---
v2 changes:
- Fixed broken commit description.

 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