summarylogtreecommitdiffstats
path: root/0004-dont-execute-msvc.patch
diff options
context:
space:
mode:
Diffstat (limited to '0004-dont-execute-msvc.patch')
-rw-r--r--0004-dont-execute-msvc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/0004-dont-execute-msvc.patch b/0004-dont-execute-msvc.patch
new file mode 100644
index 000000000000..7ad06828c1ba
--- /dev/null
+++ b/0004-dont-execute-msvc.patch
@@ -0,0 +1,12 @@
+--- setuptools-27.3.0/setuptools/monkey.py.orig 2016-09-23 11:38:23.517707200 +0300
++++ setuptools-27.3.0/setuptools/monkey.py 2016-09-23 11:39:40.362333800 +0300
+@@ -90,7 +90,8 @@
+ setuptools.extension.Extension
+ )
+
+- patch_for_msvc_specialized_compiler()
++ if not 'GCC' in sys.version:
++ patch_for_msvc_specialized_compiler()
+
+
+ def _patch_distribution_metadata_write_pkg_file():