aboutsummaryrefslogtreecommitdiffstats
path: root/shells/zsh
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-07-21 20:42:34 +0800
committerosa <osa@FreeBSD.org>2003-07-21 20:42:34 +0800
commit7b3f3866566e60ab8e16340cf3c291525b902279 (patch)
tree9d809ddf49bdf3c0924552d84a2371a327a0d052 /shells/zsh
parent0c2737bd24566fe825e6e915c129c1cd0cc4200c (diff)
downloadfreebsd-ports-gnome-7b3f3866566e60ab8e16340cf3c291525b902279.tar.gz
freebsd-ports-gnome-7b3f3866566e60ab8e16340cf3c291525b902279.tar.zst
freebsd-ports-gnome-7b3f3866566e60ab8e16340cf3c291525b902279.zip
Fix NOSHARED (produce static executable)
Noticed by: Dan Nelson Submitted by: Sergei Kolobov <sergei@kolobov.com> (maintainer) PR: 54699, 54700
Diffstat (limited to 'shells/zsh')
-rw-r--r--shells/zsh/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index f5eb39c86aa5..d9d46b7f1d30 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -74,6 +74,7 @@ CONFIGURE_ARGS+= --enable-maildir-support
.endif
.if defined(NOSHARED)
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -static"
CONFIGURE_ARGS+= --disable-dynamic
PLIST_SUB+= NO_STATIC="@comment "
.else