diff options
Diffstat (limited to 'package/python/python-010-disable_modules_and_ssl.patch')
-rw-r--r-- | package/python/python-010-disable_modules_and_ssl.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/python/python-010-disable_modules_and_ssl.patch b/package/python/python-010-disable_modules_and_ssl.patch index c7d41184e..a690eae38 100644 --- a/package/python/python-010-disable_modules_and_ssl.patch +++ b/package/python/python-010-disable_modules_and_ssl.patch @@ -22,9 +22,9 @@ diff -rduNp Python-2.4.2-002/setup.py Python-2.4.2/setup.py def detect_modules(self): + global disable_ssl - for dir in modules_include_dirs: - add_dir_to_list(self.compiler.include_dirs, dir) - for dir in modules_lib_dirs: + try: + modules_include_dirs = os.environ["PYTHON_MODULES_INCLUDE"].split() + except KeyError: @@ -468,7 +476,8 @@ class PyBuildExt(build_ext): ] ) |