summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-06-21 13:13:15 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-06-21 13:13:15 +0000
commit12452d919898af64a3f6aa3403aa56c2cceb5ed3 (patch)
tree68ffc0f4d8f8f54f5f31e30e52c78a95099299eb /Makefile
parentc3e574a1addab4c2ae74e07c8eefd5c7afb65454 (diff)
downloadmandoc-12452d919898af64a3f6aa3403aa56c2cceb5ed3.tar.gz
mandoc-12452d919898af64a3f6aa3403aa56c2cceb5ed3.tar.zst
mandoc-12452d919898af64a3f6aa3403aa56c2cceb5ed3.zip
Don't let empty strings into the makewhatis keyword database.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c535f105..86399a57 100644
--- a/Makefile
+++ b/Makefile
@@ -353,7 +353,7 @@ llib-lmandoc.ln: $(MANDOC_LNS)
# You'll need -ldb for Linux.
makewhatis: $(MAKEWHATIS_OBJS) libmandoc.a
- $(CC) -o $@ $(MAKEWHATIS_OBJS) libmandoc.a
+ $(CC) -o $@ $(MAKEWHATIS_OBJS) libmandoc.a -ldb
llib-lmakewhatis.ln: $(MAKEWHATIS_LNS)
$(LINT) $(LINTFLAGS) -Cmakewhatis $(MAKEWHATIS_LNS)