summaryrefslogtreecommitdiff
path: root/package/zlib/zlib.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-20 23:51:17 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-20 23:51:17 +0200
commit7dae68a0fa24dd733bf70d6dee9b20c70e1041fc (patch)
tree093a9d38e438d6104a2d0b4c6236e450f779d339 /package/zlib/zlib.mk
parent424888e47431db738f5f9b3c6392435bfce7a842 (diff)
zlib: always build host version dynamically
Host libraries should always be built using dynamic linking, rather than static if BR2_PREFER_STATIC_LIB is enabled, as that then breaks dependent libraries expecting a shared library. Reported-by: Andy Kennedy <andy.kennedy@adtran.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/zlib/zlib.mk')
-rw-r--r--package/zlib/zlib.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk
index dcd2548da..18e7068ff 100644
--- a/package/zlib/zlib.mk
+++ b/package/zlib/zlib.mk
@@ -31,9 +31,7 @@ define HOST_ZLIB_CONFIGURE_CMDS
(cd $(@D); rm -rf config.cache; \
$(HOST_CONFIGURE_ARGS) \
$(HOST_CONFIGURE_OPTS) \
- CFLAGS="$(ZLIB_PIC)" \
./configure \
- $(ZLIB_SHARED) \
--prefix="$(HOST_DIR)/usr" \
--sysconfdir="$(HOST_DIR)/etc" \
)