X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b406bcc62e9d93fa4b4d04076cb0776c3deed527..3d9b27b735b76d16c6bad5dc202a731883e7b888:/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)