bpo-36235: Fix distutils test_customize_compiler() on macOS (GH-12764) · python/cpython@d9b25a2 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit d9b25a2
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() |