summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-07-21 12:42:34 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-07-21 12:42:34 +0000
commit893b6ff7ec93fa0c3b9f951feaff83d8f4d69a67 (patch)
treec5c2a26cb356f13d3c7aad737e6ffd21bed40ab8 /shells
parentUpdate to 0.16 (diff)
Fix NOSHARED (produce static executable)
Noticed by: Dan Nelson Submitted by: Sergei Kolobov <sergei@kolobov.com> (maintainer) PR: 54699, 54700
Notes
Notes: svn path=/head/; revision=85291
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh-devel/Makefile1
-rw-r--r--shells/zsh/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/shells/zsh-devel/Makefile b/shells/zsh-devel/Makefile
index d06f3512477e..39c4466ed52b 100644
--- a/shells/zsh-devel/Makefile
+++ b/shells/zsh-devel/Makefile
@@ -76,6 +76,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
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