From 342f335141659efb2b94c6ee21325fd383c23a94 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Thu, 17 Mar 2016 00:37:04 +0000 Subject: [PATCH] We need libutil and make it feasible to at least build the tests in situ --- lib/libxo/tests/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/libxo/tests/Makefile b/lib/libxo/tests/Makefile index 1a0f7c69cfee..06fb626ce967 100644 --- a/lib/libxo/tests/Makefile +++ b/lib/libxo/tests/Makefile @@ -242,8 +242,14 @@ PROGS+= test_11 CFLAGS+= -I${LIBXOSRC}/libxo -LIBADD= xo +LIBADD= xo util SUBDIR+= encoder +.if ${MACHINE} == "host" +# make it easy to test without install +TESTSDIR= ${.OBJDIR} +CFLAGS+= -I${.CURDIR:H} +.endif + .include