fix zlib cross compiling from non-linux systems
[openwrt-10.03/.git] / package / zlib / Makefile
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 \