fix zlib cross compiling from non-linux systems
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 14 Oct 2006 23:05:37 +0000 (23:05 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 14 Oct 2006 23:05:37 +0000 (23:05 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5102 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/zlib/Makefile
package/zlib/patches/100-cross_compile.patch [moved from package/zlib/patches/zlib.patch with 100% similarity]

index df4a4753ff8707f014e645b034389dee72d3c501..02eb45d858ee3b238a91718463a90466d53cba47 100644 (file)
@@ -34,6 +34,7 @@ define Build/Configure
                $(TARGET_CONFIGURE_OPTS) \
                LDSHARED="$(TARGET_CC) -shared -Wl,-soname,libz.so.1" \
                CFLAGS="$(TARGET_CFLAGS) $(CFLAGS_LARGEFILE)" \
+               UNAME_S="Linux" \
                ./configure \
                        --prefix=/usr \
                        --shared \