Skip to content

Commit

Permalink
Merge pull request pypa/distutils#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 committed Jun 28, 2024
2 parents 131fae7 + afc54f8 commit f3b2254
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 f3b2254

Please sign in to comment.