summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/base/main.lua')
-rw-r--r--xmake/scripts/base/main.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/scripts/base/main.lua b/xmake/scripts/base/main.lua
index df9e00105..962f1b873 100644
--- a/xmake/scripts/base/main.lua
+++ b/xmake/scripts/base/main.lua
@@ -429,6 +429,9 @@ function main._prepare_global()
-- probe the global platform configure
platform.probe(global_wrapped, true)
+
+ -- clear up the global configure
+ global.clearup()
end
-- ok
@@ -484,6 +487,9 @@ function main._prepare_project()
-- probe the current platform configure
platform.probe(config_wrapped, false)
+ -- clear up the configure
+ config.clearup()
+
end
-- merge the default options