Skip to content

Commit

Permalink
Harmonize '-shared' parameter for C and C++ in Mingw32CCompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 2, 2024
1 parent 93ab2a5 commit 95088c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/cygwinccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def __init__(self, verbose=False, dry_run=False, force=False):
self.set_executables(
compiler=f'{self.cc} -O -Wall',
compiler_so=f'{self.cc} -shared -O -Wall',
compiler_so_cxx=f'{self.cxx} -mdll -O -Wall',
compiler_so_cxx=f'{self.cxx} -shared -O -Wall',
compiler_cxx=f'{self.cxx} -O -Wall',
linker_exe=f'{self.cc}',
linker_so=f'{self.linker_dll} {shared_option}',
Expand Down

0 comments on commit 95088c5

Please sign in to comment.