summaryrefslogtreecommitdiff
path: root/package/zlib/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-14 23:05:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-14 23:05:37 +0000
commit1aede1e1db77e03ec5cacb969a0e2accd9c7bbc6 (patch)
tree85abb06810d9a4f7625eaf0e5874399814195222 /package/zlib/Makefile
parentf524e29d8006731d6c76e3505d52ee3a58b226b6 (diff)
downloadmtk-20170518-1aede1e1db77e03ec5cacb969a0e2accd9c7bbc6.zip
mtk-20170518-1aede1e1db77e03ec5cacb969a0e2accd9c7bbc6.tar.gz
mtk-20170518-1aede1e1db77e03ec5cacb969a0e2accd9c7bbc6.tar.bz2
fix zlib cross compiling from non-linux systems
SVN-Revision: 5102
Diffstat (limited to 'package/zlib/Makefile')
-rw-r--r--package/zlib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index df4a475..02eb45d 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 \