Commit 246e910ad7ef7d319cdc734cae706ea8be8af52e

Stefan Sperling 2020-02-17T22:57:34

fix gotweb build on sparc64; the old linker wants to see -lz after -lkcgi

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/gotweb/Makefile b/gotweb/Makefile
index 951a8c5..f22b8bb 100644
--- a/gotweb/Makefile
+++ b/gotweb/Makefile
@@ -16,7 +16,7 @@ MAN =		${PROG}.conf.5 ${PROG}.8
 
 CPPFLAGS +=	-I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR} \
 		-I${KCGIBASE}/include
-LDADD +=	-L${KCGIBASE}/lib -lkcgihtml -lkcgi
+LDADD +=	-L${KCGIBASE}/lib -lkcgihtml -lkcgi -lz
 LDSTATIC =	${STATIC}
 
 .if ${GOT_RELEASE} != "Yes"