Skip to content

Commit 9662221

Browse files
committed
Set self.ndk_ver, not just the local variable
1 parent 27a5183 commit 9662221

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pythonforandroid/toolchain.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@ def prepare_build_environment(self, user_sdk_dir, user_ndk_dir,
659659
'need to manually set the NDK ver.')
660660
if ndk_ver is None:
661661
warning('Android NDK version could not be found, exiting.')
662+
self.ndk_ver = ndk_ver
662663

663664
self.ndk_platform = join(
664665
self.ndk_dir,

0 commit comments

Comments
 (0)