Skip to content

Commit

Permalink
Merge pull request #209 from DWesl/patch-3
Browse files Browse the repository at this point in the history
Port code from CygwinCCompiler to UnixCCompiler
  • Loading branch information
jaraco authored Jun 28, 2024
2 parents 3b86c5e + 8daf3d1 commit cfc09f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions distutils/unixccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ class UnixCCompiler(CCompiler):
xcode_stub_lib_format = dylib_lib_format
if sys.platform == "cygwin":
exe_extension = ".exe"
shared_lib_extension = ".dll.a"
dylib_lib_extension = ".dll"
dylib_lib_format = "cyg%s%s"

def preprocess(
self,
Expand Down

0 comments on commit cfc09f2

Please sign in to comment.