fix zlib linking failures with gcc-4.4+ (#6173)

SVN-Revision: 19012
This commit is contained in:
Florian Fainelli 2010-01-02 19:45:50 +00:00
parent ac4b63a18b
commit b1dca51ad0

View file

@ -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)