diff options
author | Simon J. Gerraty <sjg@FreeBSD.org> | 2016-03-17 00:37:04 +0000 |
---|---|---|
committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2016-03-17 00:37:04 +0000 |
commit | 342f335141659efb2b94c6ee21325fd383c23a94 (patch) | |
tree | 27e3f07cc538a292070c5835c8a5d246e8f78917 /lib/libxo | |
parent | d20ec2e52b5226df11f765b1e9000913c971e869 (diff) | |
download | src-342f335141659efb2b94c6ee21325fd383c23a94.tar.gz src-342f335141659efb2b94c6ee21325fd383c23a94.zip |
We need libutil
and make it feasible to at least build the tests in situ
Notes
Notes:
svn path=/head/; revision=296970
Diffstat (limited to 'lib/libxo')
-rw-r--r-- | lib/libxo/tests/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 <bsd.test.mk> |