summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/android/prober.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/android/prober.lua')
-rw-r--r--xmake/scripts/platform/android/prober.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/platform/android/prober.lua b/xmake/scripts/platform/android/prober.lua
index 43863555e..c53b2db57 100644
--- a/xmake/scripts/platform/android/prober.lua
+++ b/xmake/scripts/platform/android/prober.lua
@@ -53,7 +53,7 @@ function prober._probe_ccache(configs)
if configs.ccache and configs.__ccache then return true end
-- disable?
- if not configs.ccache then
+ if type(configs.ccache) == "boolean" and not configs.ccache then
configs.__ccache = nil
return true
end