Skip to content

Commit f3b2254

Browse files
committed
Merge pull request #209 from DWesl/patch-3
Port code from CygwinCCompiler to UnixCCompiler
2 parents 131fae7 + afc54f8 commit f3b2254

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

distutils/unixccompiler.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ class UnixCCompiler(CCompiler):
144144
xcode_stub_lib_format = dylib_lib_format
145145
if sys.platform == "cygwin":
146146
exe_extension = ".exe"
147+
shared_lib_extension = ".dll.a"
148+
dylib_lib_extension = ".dll"
149+
dylib_lib_format = "cyg%s%s"
147150

148151
def preprocess(
149152
self,

0 commit comments

Comments
 (0)