From: florian Date: Sat, 2 Jan 2010 19:45:50 +0000 (+0000) Subject: [package] fix zlib linking failures with gcc-4.4+ (#6173) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/d575b44570891fe3bcc2eb48b15fb8e2f686cfc7?ds=sidebyside [package] fix zlib linking failures with gcc-4.4+ (#6173) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19012 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/zlib/Makefile b/package/zlib/Makefile index 19457c1ac..d8213b972 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)