summaryrefslogtreecommitdiff
path: root/package/zlib/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-28 03:12:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-28 03:12:46 +0100
commit1fa05f0705a9bb0f18f63b7556ddbe34ba6e8109 (patch)
tree32d8737ec5ddf1b714445fa56cd811d96417be04 /package/zlib/Makefile
parent1630cb32e5106075d77888ec6831248f2277a585 (diff)
zlib: fix static linking
Diffstat (limited to 'package/zlib/Makefile')
-rw-r--r--package/zlib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 45670b36c..d6fbd78d5 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -22,6 +22,8 @@ CONFIGURE_ENV+= uname=Linux
ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS_ONLY),)
CONFIGURE_OPTS:= --shared
+else
+CONFIGURE_OPTS:= --static
endif
ALL_TARGET:= libz.a