fix zlib build on machines where LDFLAGS gets set to something broken
authorFelix Fietkau <nbd@openwrt.org>
Mon, 29 Aug 2005 21:41:57 +0000 (21:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 29 Aug 2005 21:41:57 +0000 (21:41 +0000)
SVN-Revision: 1788

openwrt/package/zlib/Makefile

index d543f595f16d73bf8f630397657a15b37a3f8dc9..2f3bd8c7b5d737b87f425064680059e4dc9c2116 100644 (file)
@@ -21,6 +21,7 @@ $(eval $(call PKG_template,ZLIB,zlib,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
        (cd $(PKG_BUILD_DIR); \
                $(TARGET_CONFIGURE_OPTS) \
+               LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \
                ./configure \
                --prefix=/usr \
                --shared \