summaryrefslogtreecommitdiffstats
path: root/tools/build/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/Makefile')
-rw-r--r--tools/build/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 7b25322..885a4c8 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -26,6 +26,11 @@ INCS+= elf-hints.h
INCS+= stdbool.h
.endif
+# usr.bin/mklocale needs <runefile.h>.
+.if !exists(/usr/include/runefile.h)
+INCS+= runefile.h
+.endif
+
# usr.bin/xargs needs <nl_langinfo.h>.
.if !exists(/usr/include/langinfo.h)
INCS+= langinfo.h
OpenPOWER on IntegriCloud