summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/config.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-10 11:51:06 +0800
committerruki <[email protected]>2015-06-10 11:51:06 +0800
commit21829afa8efa18ca57e4bd9b322c6be1f84d392d (patch)
treee3af545e1c76f83824fbd63f8f0043363252cd9f /xmake/scripts/base/config.lua
parent177400e62e74d5ad3539573cfd3143cd19d3d30f (diff)
fix merge option and config for boolean value
Diffstat (limited to 'xmake/scripts/base/config.lua')
-rw-r--r--xmake/scripts/base/config.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/base/config.lua b/xmake/scripts/base/config.lua
index 62db41dee..6d69de5ff 100644
--- a/xmake/scripts/base/config.lua
+++ b/xmake/scripts/base/config.lua
@@ -304,7 +304,7 @@ function config.load()
if config._need(k) then
-- save the default option to the target
- if not target[k] then
+ if nil == target[k] then
target[k] = v
end
end