mirror of
https://github.com/openwrt/packages.git
synced 2025-12-28 14:20:05 +04:00
3.6.9 is the latest security fix release of Python 3.6. - Fixes: CVE-2018-20852, CVE-2019-9948, CVE-2019-9740, CVE-2019-5010 - Refreshed patches - Removed a few backports patches Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
14 lines
758 B
Diff
14 lines
758 B
Diff
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -527,8 +527,9 @@ class PyBuildExt(build_ext):
|
|
# directly since an inconsistently reproducible issue comes up where
|
|
# the environment variable is not set even though the value were passed
|
|
# into configure and stored in the Makefile (issue found on OS X 10.3).
|
|
+ rt_lib_dirs = [] if cross_compiling else self.compiler.runtime_library_dirs
|
|
for env_var, arg_name, dir_list in (
|
|
- ('LDFLAGS', '-R', self.compiler.runtime_library_dirs),
|
|
+ ('LDFLAGS', '-R', rt_lib_dirs),
|
|
('LDFLAGS', '-L', self.compiler.library_dirs),
|
|
('CPPFLAGS', '-I', self.compiler.include_dirs)):
|
|
env_val = sysconfig.get_config_var(env_var)
|