summaryrefslogtreecommitdiffstats
path: root/package/zlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/zlib/Makefile')
-rw-r--r--package/zlib/Makefile1
1 files changed, 1 insertions, 0 deletions
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)