Commit Diff


commit - bce5dac1a3d52e5b3dc81458ca9b3a7d740180cb
commit + 43d8c06e246c7e73277ba8935ca9e9b10735e9ad
blob - 13f04a9e897037ffca1371e95db65f0755fb7a36
blob + c51458d0db217145fd9356f10661dd17f09fba30
--- Makefile.inc
+++ Makefile.inc
@@ -29,7 +29,8 @@ DEBUG = -O0 -g
 .endif
 
 .if "${MAKEWEB}" == "Yes"
-LDADD =		-L${PREFIX}/lib -static -lkcgihtml -lkcgi -lz -lutil
+LDADD +=	-L${PREFIX}/lib -lz -lutil
+LDSTATIC =	${STATIC}
 PREFIX =	/usr/local
 CHROOT_DIR =	/var/www
 GOTWEB_DIR =	/cgi-bin/gotweb
blob - 4f2ae4e195ade91c8aff6f94cd3d4d5745e7a979
blob + a738cb34bf84d8765f958cdfd2d9aad480f28261
--- gotweb/Makefile
+++ gotweb/Makefile
@@ -16,7 +16,8 @@ MAN =		${PROG}.conf.5
 CPPFLAGS +=	-I${.CURDIR}/../include -I${.CURDIR}/../lib -I${.CURDIR} \
 		-I${PREFIX}/include
 
-LDADD +=	-L${PREFIX}/lib -static -lkcgihtml -lkcgi -lz -lutil
+LDADD =		-L${PREFIX}/lib -lkcgihtml -lkcgi -lz -lutil
+LDSTATIC =	${STATIC}
 
 .if ${GOT_RELEASE} != "Yes"
 NOMAN = Yes