mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
GH-126920: fix Makefile overwriting sysconfig.get_config_vars
This commit is contained in:
parent
acbd5c9c6c
commit
9d6366b60d
3 changed files with 39 additions and 1 deletions
|
|
@ -353,7 +353,8 @@ def _init_posix(vars):
|
|||
else:
|
||||
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
|
||||
build_time_vars = _temp.build_time_vars
|
||||
vars.update(build_time_vars)
|
||||
# GH-126920: Make sure we don't overwrite any of the keys already set
|
||||
vars.update(build_time_vars | vars)
|
||||
|
||||
def _init_non_posix(vars):
|
||||
"""Initialize the module as appropriate for NT"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue