summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-04-29 11:31:35 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2006-04-29 11:31:35 (GMT)
commit988117fd6323c2b21ce1bdb2b1153a5d759a511c (patch)
treeaaa34f841b7ce55329e960a7dad8567fd027fdf9 /Lib/distutils
parentf674939a2b94f5ef7c448b559ea3ef2734b01c9f (diff)
downloadcpython-988117fd6323c2b21ce1bdb2b1153a5d759a511c.zip
cpython-988117fd6323c2b21ce1bdb2b1153a5d759a511c.tar.gz
cpython-988117fd6323c2b21ce1bdb2b1153a5d759a511c.tar.bz2
Patch 1471883: --enable-universalsdk on Mac OS X
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/sysconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index 72aa511..2a18d2b 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -366,8 +366,8 @@ def _init_posix():
# MACOSX_DEPLOYMENT_TARGET: configure bases some choices on it so
# it needs to be compatible.
# If it isn't set we set it to the configure-time value
- if sys.platform == 'darwin' and g.has_key('CONFIGURE_MACOSX_DEPLOYMENT_TARGET'):
- cfg_target = g['CONFIGURE_MACOSX_DEPLOYMENT_TARGET']
+ if sys.platform == 'darwin' and g.has_key('MACOSX_DEPLOYMENT_TARGET'):
+ cfg_target = g['MACOSX_DEPLOYMENT_TARGET']
cur_target = os.getenv('MACOSX_DEPLOYMENT_TARGET', '')
if cur_target == '':
cur_target = cfg_target