Commit a9bd8925 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

bpo-36235: Fix distutils test_customize_compiler() on macOS (GH-12764)

Set CUSTOMIZED_OSX_COMPILER to True to disable
_osx_support.customize_compiler().
parent 42f55ee5
...@@ -92,6 +92,9 @@ class SysconfigTestCase(support.EnvironGuard, unittest.TestCase): ...@@ -92,6 +92,9 @@ class SysconfigTestCase(support.EnvironGuard, unittest.TestCase):
'CCSHARED': '--sc-ccshared', 'CCSHARED': '--sc-ccshared',
'LDSHARED': 'sc_ldshared', 'LDSHARED': 'sc_ldshared',
'SHLIB_SUFFIX': 'sc_shutil_suffix', 'SHLIB_SUFFIX': 'sc_shutil_suffix',
# On macOS, disable _osx_support.customize_compiler()
'CUSTOMIZED_OSX_COMPILER': 'True',
} }
comp = compiler() comp = compiler()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment