From 21829afa8efa18ca57e4bd9b322c6be1f84d392d Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 10 Jun 2015 11:51:06 +0800 Subject: fix merge option and config for boolean value --- xmake/scripts/platform/linux/prober.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/scripts/platform/linux/prober.lua') diff --git a/xmake/scripts/platform/linux/prober.lua b/xmake/scripts/platform/linux/prober.lua index 92f670394..5916a39bb 100644 --- a/xmake/scripts/platform/linux/prober.lua +++ b/xmake/scripts/platform/linux/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 -- cgit v1.3.1