summaryrefslogtreecommitdiff
path: root/xmake/toolchains/ndk
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-16 23:45:08 +0800
committerruki <[email protected]>2021-02-16 23:45:08 +0800
commit3fd2197be60b009f4ed16ec64a35f60c9ac0782b (patch)
treee4b52024bcc4e2f49a25ff224ae95ba56f22bf29 /xmake/toolchains/ndk
parent5ec37d1979611aad83348afc8fc8c3adabbbc5b7 (diff)
fix android deploy
Diffstat (limited to 'xmake/toolchains/ndk')
-rw-r--r--xmake/toolchains/ndk/check.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/toolchains/ndk/check.lua b/xmake/toolchains/ndk/check.lua
index 66bfe72f3..ceedf4341 100644
--- a/xmake/toolchains/ndk/check.lua
+++ b/xmake/toolchains/ndk/check.lua
@@ -49,6 +49,7 @@ function _check_android_sdk(toolchain)
local sdk = find_android_sdk(toolchain:config("android_sdk") or config.get("android_sdk"), {force = true, verbose = true})
if sdk then
toolchain:config_set("android_sdk", sdk.sdkdir)
+ toolchain:config_set("build_toolver", sdk.build_toolver)
toolchain:configs_save()
end
end