From 1fa05f0705a9bb0f18f63b7556ddbe34ba6e8109 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 28 Dec 2016 03:12:38 +0100 Subject: zlib: fix static linking --- package/zlib/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/zlib') 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 -- cgit v1.2.3