summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-11-05 17:16:34 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-11-05 17:16:34 +0000
commit3597644f169f66ac9227817364260907da25a52f (patch)
tree490b9023cc309dfa416a4f11b9405b13d8b7e07b
parenteadb156dcd6cc942185410bbc0bff99188e387a6 (diff)
downloadmandoc-3597644f169f66ac9227817364260907da25a52f.tar.gz
demandoc(1) needs to link against -lutil, too
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d05d7cd8..1f13322f 100644
--- a/Makefile
+++ b/Makefile
@@ -411,7 +411,7 @@ man.cgi: $(CGI_OBJS) libmandoc.a
$(CC) $(LDFLAGS) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(DBLIB)
demandoc: $(DEMANDOC_OBJS) libmandoc.a
- $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a -lz
+ $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a $(DBLIB)
soelim: $(SOELIM_OBJS) compat_reallocarray.o
$(CC) $(LDFLAGS) -o $@ $(SOELIM_OBJS) compat_reallocarray.o