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