diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-07-07 10:46:09 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-07-07 10:46:09 (GMT) |
commit | 3bc13cc8b0b85f989b8da9c5718fc5319ad06248 (patch) | |
tree | 52fc5995a7cc1ccafce61ef403b7dea1a4ff342d /Lib/distutils/sysconfig.py | |
parent | 667abc7d42e87b87338981276d0eac9895d4abf4 (diff) | |
parent | e50dafcd636ba32db890600164698bb070d40d97 (diff) | |
download | cpython-3bc13cc8b0b85f989b8da9c5718fc5319ad06248.zip cpython-3bc13cc8b0b85f989b8da9c5718fc5319ad06248.tar.gz cpython-3bc13cc8b0b85f989b8da9c5718fc5319ad06248.tar.bz2 |
Merge heads
Diffstat (limited to 'Lib/distutils/sysconfig.py')
-rw-r--r-- | Lib/distutils/sysconfig.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py index 75537db..5b94fa2 100644 --- a/Lib/distutils/sysconfig.py +++ b/Lib/distutils/sysconfig.py @@ -179,7 +179,8 @@ def customize_compiler(compiler): # version and build tools may not support the same set # of CPU architectures for universal builds. global _config_vars - if not _config_vars.get('CUSTOMIZED_OSX_COMPILER', ''): + # Use get_config_var() to ensure _config_vars is initialized. + if not get_config_var('CUSTOMIZED_OSX_COMPILER'): import _osx_support _osx_support.customize_compiler(_config_vars) _config_vars['CUSTOMIZED_OSX_COMPILER'] = 'True' |