summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.libcompat3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index 8060acbcc847f..3ab962f0d847c 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -134,7 +134,8 @@ build${libcompat}: .PHONY
ln -sf ${.CURDIR}/sys ${WORLDTMP}
.for _t in obj includes
.for _dir in ${_LC_INCDIRS}
- ${_+_}cd ${.CURDIR}/${_dir}; ${LIBCOMPATWMAKE} DIRPRFX=${_dir}/ ${_t}
+ ${_+_}cd ${.CURDIR}/${_dir}; ${LIBCOMPATWMAKE} MK_INCLUDES=yes \
+ DIRPRFX=${_dir}/ ${_t}
.endfor
.endfor
.for _dir in lib/ncurses/ncurses lib/ncurses/ncursesw lib/libmagic