Skip to content

Commit

Permalink
gh-127146: Fix test_sysconfigdata_json for Emscripten (#128556)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane authored Jan 6, 2025
1 parent f826bec commit b6c919b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Lib/sysconfig/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,10 @@ def _init_config_vars():
_init_posix(_CONFIG_VARS)
# If we are cross-compiling, load the prefixes from the Makefile instead.
if '_PYTHON_PROJECT_BASE' in os.environ:
prefix = _CONFIG_VARS['prefix']
exec_prefix = _CONFIG_VARS['exec_prefix']
base_prefix = _CONFIG_VARS['prefix']
base_exec_prefix = _CONFIG_VARS['exec_prefix']
prefix = _CONFIG_VARS['host_prefix']
exec_prefix = _CONFIG_VARS['host_exec_prefix']
base_prefix = _CONFIG_VARS['host_prefix']
base_exec_prefix = _CONFIG_VARS['host_exec_prefix']
abiflags = _CONFIG_VARS['ABIFLAGS']

# Normalized versions of prefix and exec_prefix are handy to have;
Expand Down

0 comments on commit b6c919b

Please sign in to comment.