Skip to content

Commit 65675e5

Browse files
committed
Harmonize '-shared' parameter for C and C++ in Mingw32CCompiler
1 parent 5723c13 commit 65675e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distutils/cygwinccompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def __init__(self, verbose=False, dry_run=False, force=False):
288288
self.set_executables(
289289
compiler=f'{self.cc} -O -Wall',
290290
compiler_so=f'{self.cc} -shared -O -Wall',
291-
compiler_so_cxx=f'{self.cxx} -mdll -O -Wall',
291+
compiler_so_cxx=f'{self.cxx} -shared -O -Wall',
292292
compiler_cxx=f'{self.cxx} -O -Wall',
293293
linker_exe=f'{self.cc}',
294294
linker_so=f'{self.linker_dll} {shared_option}',

0 commit comments

Comments
 (0)