From 1aede1e1db77e03ec5cacb969a0e2accd9c7bbc6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 14 Oct 2006 23:05:37 +0000 Subject: [PATCH] fix zlib cross compiling from non-linux systems SVN-Revision: 5102 --- package/zlib/Makefile | 1 + package/zlib/patches/{zlib.patch => 100-cross_compile.patch} | 0 2 files changed, 1 insertion(+) rename package/zlib/patches/{zlib.patch => 100-cross_compile.patch} (100%) diff --git a/package/zlib/Makefile b/package/zlib/Makefile index df4a4753ff..02eb45d858 100644 --- a/package/zlib/Makefile +++ b/package/zlib/Makefile @@ -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 \ diff --git a/package/zlib/patches/zlib.patch b/package/zlib/patches/100-cross_compile.patch similarity index 100% rename from package/zlib/patches/zlib.patch rename to package/zlib/patches/100-cross_compile.patch