summaryrefslogtreecommitdiff
path: root/xmake/scripts/action/_global.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/action/_global.lua')
-rw-r--r--xmake/scripts/action/_global.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/scripts/action/_global.lua b/xmake/scripts/action/_global.lua
index 53ed35b08..a8fffa0bc 100644
--- a/xmake/scripts/action/_global.lua
+++ b/xmake/scripts/action/_global.lua
@@ -45,7 +45,9 @@ end
function _global.done()
-- probe the global platform configure
- platform.probe(true)
+ if not platform.probe(true) then
+ return false
+ end
-- clear up the global configure
global.clearup()