diff -Naur Python-2.7.9-orig/setup.py Python-2.7.9/setup.py | |
--- Python-2.7.9-orig/setup.py 2014-12-11 13:50:42.947000000 +0300 | |
+++ Python-2.7.9/setup.py 2014-12-11 13:50:55.785800000 +0300 | |
@@ -447,7 +447,8 @@ | |
add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') | |
if cross_compiling: | |
self.add_gcc_paths() | |
- self.add_multiarch_paths() | |
+ if not cross_compiling: | |
+ self.add_multiarch_paths() | |
# Add paths specified in the environment variables LDFLAGS and | |
# CPPFLAGS for header and library files. |