mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 14:34:32 +04:00
Some notes:
- Python 3 (at least version 3.4) is pretty cross-compiler-friendly,
so a lot of patches were thrown away.
- Arguments below were moved to ./files/config.site file, and disabled
ac_cv_have_chflags=no \
ac_cv_have_lchflags=no \
ac_cv_py_format_size_t=no \
ac_cv_have_long_long_format=yes \
ac_cv_buggy_getaddrinfo=no \
- --without-ensurepip added, because the build wants to ensure that
it works; that's a good idea, but for now, it requires special
setup, and we can do that later
- --without-pymalloc added, becase in Python 3, modules are suffixed
with m; e.g. so some paths are python3.4m instead of python3.4
all this is detailed here:
http://legacy.python.org/dev/peps/pep-3149/
Maybe it will be a good idea to re-add this back
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
26 lines
687 B
Diff
26 lines
687 B
Diff
From 6eeab87bc852481e599325549c854b701bf2e39f Mon Sep 17 00:00:00 2001
|
|
From: Alexandru Ardelean <aa@ocedo.com>
|
|
Date: Thu, 25 Sep 2014 18:18:29 +0300
|
|
Subject: [PATCH] enable zlib
|
|
|
|
---
|
|
Modules/Setup.dist | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
|
|
index 01fb85f..01ac492 100644
|
|
--- a/Modules/Setup.dist
|
|
+++ b/Modules/Setup.dist
|
|
@@ -358,7 +358,7 @@ _symtable symtablemodule.c
|
|
# Andrew Kuchling's zlib module.
|
|
# This require zlib 1.1.3 (or later).
|
|
# See http://www.gzip.org/zlib/
|
|
-#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
|
|
+zlib zlibmodule.c -lz
|
|
|
|
# Interface to the Expat XML parser
|
|
#
|
|
--
|
|
1.8.4.5
|
|
|