diff options
| -rw-r--r-- | unixccompiler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unixccompiler.py b/unixccompiler.py index 2a6b1bee..e444917f 100644 --- a/unixccompiler.py +++ b/unixccompiler.py @@ -77,6 +77,8 @@ class UnixCCompiler(CCompiler): shared_lib_extension = ".so" dylib_lib_extension = ".dylib" static_lib_format = shared_lib_format = dylib_lib_format = "lib%s%s" + if sys.platform == "cygwin": + exe_extension = ".exe" def preprocess(self, source, output_file=None, macros=None, include_dirs=None, |
