From 7dae68a0fa24dd733bf70d6dee9b20c70e1041fc Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 20 Jul 2011 23:51:17 +0200 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- package/zlib/zlib.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk index dcd2548da8..18e7068ff2 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" \ ) -- 2.30.2