summaryrefslogtreecommitdiff
path: root/xmake/platforms/android/check.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-10-16 22:34:57 +0800
committerruki <[email protected]>2018-10-16 09:29:47 +0800
commite97e34938bdace77ff10dcd933f2af961432949d (patch)
tree8ec6dec78b2c575600a1b995462ff0cc49119b72 /xmake/platforms/android/check.lua
parent29598d7ee9489d7383ac2bb4da48264c99539477 (diff)
improve tbox templates and package install scripts
Diffstat (limited to 'xmake/platforms/android/check.lua')
-rw-r--r--xmake/platforms/android/check.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/platforms/android/check.lua b/xmake/platforms/android/check.lua
index cb1cc6436..cd4c8b786 100644
--- a/xmake/platforms/android/check.lua
+++ b/xmake/platforms/android/check.lua
@@ -31,8 +31,8 @@ function _check_ndk(config)
local ndk = find_ndk(config.get("ndk"), {force = true, verbose = true})
if ndk then
config.set("ndk", ndk.sdkdir, {force = true, readonly = true}) -- maybe to global
- config.set("bin", ndk.bindir)
- config.set("cross", ndk.cross)
+ config.set("bin", ndk.bindir, {force = true, readonly = true})
+ config.set("cross", ndk.cross, {force = true, readonly = true})
else
-- failed
cprint("${bright red}please run:")