Skip to content

Commit 86e99bf

Browse files
committed
Set PATH using real SDK and NDK directories
This is a regression from f7f8cea. Previously, `self.sdk_dir` and `self.ndk_dir` were passed to `select_and_check_toolchain_version`.
1 parent 44d3591 commit 86e99bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonforandroid/build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,9 @@ def prepare_build_environment(self,
370370

371371
self.env["PATH"] = ":".join(
372372
[
373-
f"{ndk_dir}/toolchains/llvm/prebuilt/{py_platform}-x86_64/bin",
373+
f"{self.ndk_dir}/toolchains/llvm/prebuilt/{py_platform}-x86_64/bin",
374374
ndk_dir,
375-
f"{sdk_dir}/tools",
375+
f"{self.sdk_dir}/tools",
376376
environ.get("PATH"),
377377
]
378378
)

0 commit comments

Comments
 (0)