diff mbox series

libtracefs: Force unit test to use local library

Message ID 20201221060225.177587-1-tz.stoyanov@gmail.com (mailing list archive)
State Superseded
Headers show
Series libtracefs: Force unit test to use local library | expand

Commit Message

Tzvetomir Stoyanov (VMware) Dec. 21, 2020, 6:02 a.m. UTC
Unit test must test the library located in thre

Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
---
 utest/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/utest/Makefile b/utest/Makefile
index 6505a3e..403540a 100644
--- a/utest/Makefile
+++ b/utest/Makefile
@@ -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)