Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f826bec commit b6c919bCopy full SHA for b6c919b
1 file changed
Lib/sysconfig/__init__.py
@@ -485,10 +485,10 @@ def _init_config_vars():
485
_init_posix(_CONFIG_VARS)
486
# If we are cross-compiling, load the prefixes from the Makefile instead.
487
if '_PYTHON_PROJECT_BASE' in os.environ:
488
- prefix = _CONFIG_VARS['prefix']
489
- exec_prefix = _CONFIG_VARS['exec_prefix']
490
- base_prefix = _CONFIG_VARS['prefix']
491
- 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']
492
abiflags = _CONFIG_VARS['ABIFLAGS']
493
494
# Normalized versions of prefix and exec_prefix are handy to have;
0 commit comments