bpo-36235: Fix distutils test_customize_compiler() on macOS (GH-12764) · python/cpython@d9b25a2 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit d9b25a2

miss-islingtonvstinner

and

authored

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 vstinner@redhat.com

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 3 additions & 0 deletions

Original file line number Diff line number Diff line change
@@ -92,6 +92,9 @@ def set_executables(self, **kw):
92 92 'CCSHARED': '--sc-ccshared',
93 93 'LDSHARED': 'sc_ldshared',
94 94 'SHLIB_SUFFIX': 'sc_shutil_suffix',
95 +
96 +# On macOS, disable _osx_support.customize_compiler()
97 +'CUSTOMIZED_OSX_COMPILER': 'True',
95 98 }
96 99
97 100 comp = compiler()