summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-07-20 21:51:17 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-07-20 21:51:17 (GMT)
commit7dae68a0fa24dd733bf70d6dee9b20c70e1041fc (patch)
tree093a9d38e438d6104a2d0b4c6236e450f779d339
parent424888e47431db738f5f9b3c6392435bfce7a842 (diff)
downloadbuildroot-7dae68a0fa24dd733bf70d6dee9b20c70e1041fc.tar.gz
buildroot-7dae68a0fa24dd733bf70d6dee9b20c70e1041fc.tar.bz2
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>
-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 dcd2548..18e7068 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" \
)