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 812e7ee commit 9dba083Copy full SHA for 9dba083
Lib/distutils/command/build_ext.py
@@ -218,7 +218,7 @@ def finalize_options(self):
218
219
# For extensions under Cygwin, Python's library directory must be
220
# appended to library_dirs
221
- if sys.platform[:6] == 'cygwin':
+ if sys.platform[:6] == 'cygwin' or self.plat_name.startswith(('mingw')):
222
if sys.executable.startswith(os.path.join(sys.exec_prefix, "bin")):
223
# building third party extensions
224
config_dir_name = os.path.basename(sysconfig.get_config_var('LIBPL'))
0 commit comments