Files
MINGW-packages/mingw-w64-python2/0650-cross-dont-add-multiarch-paths-if-cross-compiling.patch
2014-06-03 08:54:47 +04:00

14 lines
530 B
Diff

diff -Naur a/setup.py b/setup.py
--- a/setup.py 2014-06-03 08:14:04.290400000 +0400
+++ b/setup.py 2014-06-03 08:14:17.488000000 +0400
@@ -445,7 +445,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.