mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
Work around distutils MACOSX_DEPLOYMENT_TARGET regression #2330
This commit is contained in:
parent
a74d40a505
commit
1e729ba345
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user