Skip to content

Commit

Permalink
Set PATH using real SDK and NDK directories
Browse files Browse the repository at this point in the history
This is a regression from f7f8cea.
Previously, `self.sdk_dir` and `self.ndk_dir` were passed to
`select_and_check_toolchain_version`.
  • Loading branch information
dbnicholson committed Apr 19, 2022
1 parent 44d3591 commit 86e99bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pythonforandroid/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ def prepare_build_environment(self,

self.env["PATH"] = ":".join(
[
f"{ndk_dir}/toolchains/llvm/prebuilt/{py_platform}-x86_64/bin",
f"{self.ndk_dir}/toolchains/llvm/prebuilt/{py_platform}-x86_64/bin",
ndk_dir,
f"{sdk_dir}/tools",
f"{self.sdk_dir}/tools",
environ.get("PATH"),
]
)
Expand Down

0 comments on commit 86e99bf

Please sign in to comment.