From 6a70832eb7520fccdbb918aac4a402c6eee509bb Mon Sep 17 00:00:00 2001 From: abs Date: Wed, 30 Aug 2000 18:00:50 +0000 Subject: Add 'TCSH_STATIC' variable for producing static tcsh binary. If only 'make LDFLAGS+=-static' would work... --- shells/tcsh/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'shells') diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile index 7ccc6309611..82ba34a1df5 100644 --- a/shells/tcsh/Makefile +++ b/shells/tcsh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 1999/08/17 16:11:27 agc Exp $ +# $NetBSD: Makefile,v 1.20 2000/08/30 18:00:52 abs Exp $ # DISTNAME= tcsh-6.09 @@ -21,6 +21,10 @@ PLIST_SRC= ${WRKDIR}/PLIST-src .include "../../mk/bsd.prefs.mk" +.if defined(TCSH_STATIC) +LDFLAGS+= -static +.endif + .if ${OPSYS} == "SunOS" OS_VERSION!= echo ${OS_VERSION} | sed -e 's|5\.|2.|' LOWER_OPSYS= solaris${OS_VERSION} -- cgit v1.2.3