X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/b406bcc62e9d93fa4b4d04076cb0776c3deed527..b33f0c06de6a668d840347afc3932974685bcecd:/package/zlib/Makefile 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)