From: Florian Fainelli Date: Sat, 2 Jan 2010 19:45:50 +0000 (+0000) Subject: fix zlib linking failures with gcc-4.4+ (#6173) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b1dca51ad02d964e86390e901ba73e711696fb69;p=openwrt%2Fstaging%2Fwigyori.git fix zlib linking failures with gcc-4.4+ (#6173) SVN-Revision: 19012 --- diff --git a/package/zlib/Makefile b/package/zlib/Makefile index 19457c1ac8..d8213b972d 100644 --- a/package/zlib/Makefile +++ b/package/zlib/Makefile @@ -39,6 +39,7 @@ endef define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ + LDSHARED="$(TARGET_CROSS)ld -shared" \ CFLAGS="$(TARGET_CFLAGS) $(FPIC)" \ libz.a libz.so mkdir -p $(PKG_INSTALL_DIR)