Work around distutils MACOSX_DEPLOYMENT_TARGET regression #2330

This commit is contained in:
Thomas Nagy 2020-12-17 14:17:35 +01:00
parent 307202417c
commit 60e3f5f488
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ def check_python_headers(conf, features='pyembed pyext'):
dct = dict(zip(v, lst))
x = 'MACOSX_DEPLOYMENT_TARGET'
if dct[x]:
env[x] = conf.environ[x] = dct[x]
env[x] = conf.environ[x] = str(dct[x])
env.pyext_PATTERN = '%s' + dct['SO'] # not a mistake