summaryrefslogtreecommitdiff
path: root/package/zlib
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:19:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-27 22:20:13 +0100
commit739d512289d14ade82e9fbae7f4371e65989622f (patch)
tree66c17c7e39a041169e08ea7137f072e3b65ab945 /package/zlib
parentd47894abb5304cf3bb30b3669e596d648b5277ba (diff)
add three library methods, static, shared or both
Rename the static symbol and add the choice to a more visible place for users.
Diffstat (limited to 'package/zlib')
-rw-r--r--package/zlib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index a65da241f..45670b36c 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -20,12 +20,12 @@ $(eval $(call PKG_template,ZLIB,zlib,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS
CONFIG_STYLE:= manual
CONFIGURE_ENV+= uname=Linux
-ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS),)
+ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS_ONLY),)
CONFIGURE_OPTS:= --shared
endif
ALL_TARGET:= libz.a
-ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS),)
+ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS_ONLY),)
ALL_TARGET+= libz.so.$(PKG_VERSION)
endif