We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed5a68 commit 7aeb9ccCopy full SHA for 7aeb9cc
setup.py
@@ -78,7 +78,7 @@ class BuildExt(build_ext):
78
def build_extensions(self):
79
ct = self.compiler.compiler_type
80
opts = self.c_opts.get(ct, [])
81
- if ct == 'unix':
+ if ct in ['unix', 'mingw32']:
82
opts.append('-DVERSION_INFO="%s"' % self.distribution.get_version())
83
opts.append(cpp_flag(self.compiler))
84
if has_flag(self.compiler, '-fvisibility=hidden'):
0 commit comments