Skip to content

Commit 1775bf7

Browse files
committed
Correct handling of the base prefix.
1 parent 207110a commit 1775bf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patch/Python/_cross_target.py.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import sysconfig
1111
sys.cross_compiling = True
1212
sys.platform = "{{platform}}"
1313
sys.implementation._multiarch = "{{arch}}-{{sdk}}"
14-
sys.base_prefix = sysconfig.get_config_var("prefix")
15-
sys.base_exec_prefix = sysconfig.get_config_var("prefix")
14+
sys.base_prefix = sysconfig._get_sysconfigdata()["prefix"]
15+
sys.base_exec_prefix = sysconfig._get_sysconfigdata()["prefix"]
1616

1717
###########################################################################
1818
# subprocess module patches

0 commit comments

Comments
 (0)