summaryrefslogtreecommitdiff
path: root/xmake/scripts/action/action.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/action/action.lua')
-rw-r--r--xmake/scripts/action/action.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/scripts/action/action.lua b/xmake/scripts/action/action.lua
index f3f2a1ba8..1174b140a 100644
--- a/xmake/scripts/action/action.lua
+++ b/xmake/scripts/action/action.lua
@@ -103,7 +103,9 @@ function action.done(name)
-- probe the platform
if _action.need("platform") and (options._ACTION == "config" or config._RECONFIG) then
- platform.probe(false)
+ if not platform.probe(false) then
+ return false
+ end
end
-- merge the default options