summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-14 23:05:37 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-14 23:05:37 +0000
commit4fff6624adfe73cb54067fba53606ef9b9fe711f (patch)
treefddd5c1c9f50d33aa65fc2274241aa399e84a9ac
parent6d32c25e55533ffe115413ce0aed2474a0a4ccf1 (diff)
fix zlib cross compiling from non-linux systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5102 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/zlib/Makefile1
-rw-r--r--package/zlib/patches/100-cross_compile.patch (renamed from package/zlib/patches/zlib.patch)0
2 files changed, 1 insertions, 0 deletions
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
index 1325462ba5..1325462ba5 100644
--- a/package/zlib/patches/zlib.patch
+++ b/package/zlib/patches/100-cross_compile.patch