summaryrefslogtreecommitdiff
path: root/xmake/platforms/android/check.lua
diff options
context:
space:
mode:
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:")