Skip to content

Commit d9b25a2

Browse files
bpo-36235: Fix distutils test_customize_compiler() on macOS (GH-12764)
Set CUSTOMIZED_OSX_COMPILER to True to disable _osx_support.customize_compiler(). (cherry picked from commit a9bd892) Co-authored-by: Victor Stinner <[email protected]>
1 parent 9d2ccf1 commit d9b25a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/distutils/tests/test_sysconfig.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ def set_executables(self, **kw):
9292
'CCSHARED': '--sc-ccshared',
9393
'LDSHARED': 'sc_ldshared',
9494
'SHLIB_SUFFIX': 'sc_shutil_suffix',
95+
96+
# On macOS, disable _osx_support.customize_compiler()
97+
'CUSTOMIZED_OSX_COMPILER': 'True',
9598
}
9699

97100
comp = compiler()

0 commit comments

Comments
 (0)