summaryrefslogtreecommitdiff
path: root/package/zlib/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-20 10:13:00 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-20 10:13:24 +0200
commit87c0185bf492767c4439f66f65398eb0ed3bda34 (patch)
tree3c3255e6fab49050a3314ea797463d56190d57be /package/zlib/Makefile
parentdfd37d10510d013fc7c49ecb42d1b75c14be4594 (diff)
fix some packages, when static build is choosen
Diffstat (limited to 'package/zlib/Makefile')
-rw-r--r--package/zlib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 7c3b567ad..06e7cf2c2 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -22,11 +22,14 @@ $(eval $(call PKG_template,ZLIB,zlib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS
CONFIG_STYLE:= manual
CONFIGURE_ENV+= uname=Linux
-ifeq ($(ADK_STATIC),)
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
CONFIGURE_OPTS:= --shared
endif
-ALL_TARGET:= libz.a libz.so.$(PKG_VERSION)
+ALL_TARGET:= libz.a
+ifeq ($(ADK_TARGET_USE_STATIC_LIBS),)
+ALL_TARGET+= libz.so.$(PKG_VERSION)
+endif
do-configure:
(cd $(WRKBUILD); \