diff options
author | Ned Deily <nad@python.org> | 2020-12-05 04:02:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 04:02:09 (GMT) |
commit | 29afab6c5f656f07ac85c9b2cf089631b2557a11 (patch) | |
tree | ed060be4fab95598e8736ffa0dd55f2fd97e7508 /setup.py | |
parent | 226a012d1cd61f42ecd3056c554922f359a1a35d (diff) | |
download | cpython-29afab6c5f656f07ac85c9b2cf089631b2557a11.zip cpython-29afab6c5f656f07ac85c9b2cf089631b2557a11.tar.gz cpython-29afab6c5f656f07ac85c9b2cf089631b2557a11.tar.bz2 |
bpo-41116: Fix setup.py test for macOS Tcl/Tk frameworks (GH-23649)
If no explicit macOS SDK was specified, setup.py should check for
Tcl and TK frameworks in /Library/Frameworks; the previous commit
inadvertently broke that test.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -177,10 +177,11 @@ def macosx_sdk_root(): m = re.search(r'-isysroot\s*(\S+)', cflags) if m is not None: MACOS_SDK_ROOT = m.group(1) + MACOS_SDK_SPECIFIED = MACOS_SDK_ROOT != '/' else: MACOS_SDK_ROOT = _osx_support._default_sysroot( sysconfig.get_config_var('CC')) - MACOS_SDK_SPECIFIED = MACOS_SDK_ROOT != '/' + MACOS_SDK_SPECIFIED = False return MACOS_SDK_ROOT |