[packages] python: Don't add host paths when compiling the zlib module. Fixes #6856
[openwrt/svn-archive/archive.git] / lang / python / patches / 110-enable-zlib.patch
1 --- Python-2.6.4/Modules/Setup.dist 2008-11-27 11:15:12.000000000 +0100
2 +++ Python-2.6.4/Modules/Setup.dist 2010-02-27 04:14:15.000000000 +0100
3 @@ -460,7 +460,7 @@
4 # Andrew Kuchling's zlib module.
5 # This require zlib 1.1.3 (or later).
6 # See http://www.gzip.org/zlib/
7 -#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
8 +zlib zlibmodule.c -lz
9
10 # Interface to the Expat XML parser
11 #