summaryrefslogtreecommitdiff
path: root/package/mksh/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-17 14:39:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-17 14:39:19 +0100
commitea4d154df11fa97233214642222b157cd0c61f22 (patch)
tree883c592984dfe9f69a18da43a20605a3e51f3fb9 /package/mksh/Makefile
parent0ac75f038e3991d3e2f2fa773aad3b32413d09cf (diff)
parent718043e164f93e243dad589af63ab68dbc0c7050 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mksh/Makefile')
-rw-r--r--package/mksh/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/mksh/Makefile b/package/mksh/Makefile
index c40d9d807..a38b97733 100644
--- a/package/mksh/Makefile
+++ b/package/mksh/Makefile
@@ -21,6 +21,11 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,MKSH,mksh,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+ifeq ($(ADK_STATIC),y)
+TARGET_CFLAGS+= -static
+TARGET_LDFLAGS+= -static
+endif
+
TARGET_CPPFLAGS+= -DMKSH_SMALL=1
CONFIG_STYLE:= manual
BUILD_STYLE:= manual