summaryrefslogtreecommitdiffstats
path: root/lib/libxo/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libxo/tests/Makefile')
-rw-r--r--lib/libxo/tests/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libxo/tests/Makefile b/lib/libxo/tests/Makefile
index 06fb626..e7a069d 100644
--- a/lib/libxo/tests/Makefile
+++ b/lib/libxo/tests/Makefile
@@ -240,7 +240,7 @@ PROGS+= test_09
PROGS+= test_10
PROGS+= test_11
-CFLAGS+= -I${LIBXOSRC}/libxo
+CFLAGS+= -I${LIBXOSRC}/libxo -I${.CURDIR:H}
LIBADD= xo util
@@ -249,7 +249,6 @@ 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