summaryrefslogtreecommitdiffstats
path: root/lib/libxo/tests
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2016-03-17 00:37:04 +0000
committersjg <sjg@FreeBSD.org>2016-03-17 00:37:04 +0000
commit80ed67b94bf9672dfc7fad678086e9e935fa7004 (patch)
tree27e3f07cc538a292070c5835c8a5d246e8f78917 /lib/libxo/tests
parentddc05a385eb9f684e9c6315e525ae34ffda9af61 (diff)
downloadFreeBSD-src-80ed67b94bf9672dfc7fad678086e9e935fa7004.zip
FreeBSD-src-80ed67b94bf9672dfc7fad678086e9e935fa7004.tar.gz
We need libutil
and make it feasible to at least build the tests in situ
Diffstat (limited to 'lib/libxo/tests')
-rw-r--r--lib/libxo/tests/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libxo/tests/Makefile b/lib/libxo/tests/Makefile
index 1a0f7c6..06fb626 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 <bsd.test.mk>
OpenPOWER on IntegriCloud