summaryrefslogtreecommitdiff
path: root/shells/zsh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shells/zsh/Makefile')
-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