We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd6f39b commit 17f4aa0Copy full SHA for 17f4aa0
setup.py
@@ -169,6 +169,12 @@ def build_extensions(self):
169
self.compiler.compiler_so.remove('-Wstrict-prototypes')
170
except (ValueError, AttributeError):
171
pass
172
+ if sys.platform == 'win32':
173
+ # Disable FH4 so that we don't require VCRUNTIME140_1.dll. For more
174
+ # details, see:
175
+ # https://devblogs.microsoft.com/cppblog/making-cpp-exception-handling-smaller-x64/
176
+ # https://github.com/joerick/cibuildwheel/issues/423#issuecomment-677763904
177
+ self.compiler.compile_options.append('/d2FH4-')
178
179
env = self.add_optimization_flags()
180
for package in good_packages:
0 commit comments