summaryrefslogtreecommitdiff
path: root/xmake/core/project/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/project/config.lua')
-rw-r--r--xmake/core/project/config.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/config.lua b/xmake/core/project/config.lua
index 789d2f5fd..03dd50119 100644
--- a/xmake/core/project/config.lua
+++ b/xmake/core/project/config.lua
@@ -152,7 +152,7 @@ end
-- get the configure directory
function config.directory()
if config._ROOTDIR == nil then
- config._ROOTDIR = os.getenv("XMAKE_CONFIGDIR") or path.join(os.projectdir(), ".xmake")
+ config._ROOTDIR = os.getenv("XMAKE_CONFIGDIR") or path.join(os.projectdir(), ".xmake", os.host(), os.arch())
end
return config._ROOTDIR
end