summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/platform/platform.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/platform/platform.lua b/xmake/core/platform/platform.lua
index 51cbcf33f..d80b72be5 100644
--- a/xmake/core/platform/platform.lua
+++ b/xmake/core/platform/platform.lua
@@ -366,6 +366,7 @@ function platform.tool(toolkind, plat)
if program then
config.set(toolkind, program, {force = true, readonly = true})
config.set("__toolname_" .. toolkind, toolname)
+ config.save()
else
-- TODO deprecated
-- check it first