We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e928129 + ccf59d2 commit 15c20e1Copy full SHA for 15c20e1
1 file changed
pythonforandroid/meson_python.py
@@ -18,7 +18,7 @@ def handle_python_info():
18
19
prefix = C.TARGET_PYTHON_PREFIX
20
21
- sysconfig_file = glob(join(prefix, "lib/python3.14/_sysconfigdata*.py"))[0]
+ sysconfig_file = glob(join(prefix, f"lib/python{C.PYTHON_MAJOR_VERSION}.{C.PYTHON_MINOR_VERSION}/_sysconfigdata*.py"))[0]
22
23
spec = importlib.util.spec_from_file_location("_android_cfg", sysconfig_file)
24
cfg = importlib.util.module_from_spec(spec)
0 commit comments