From e97e34938bdace77ff10dcd933f2af961432949d Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 16 Oct 2018 22:34:57 +0800 Subject: improve tbox templates and package install scripts --- xmake/platforms/android/check.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/platforms/android/check.lua') 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:") -- cgit v1.3.1