diff options
Diffstat (limited to 'xmake/core/project/config.lua')
| -rw-r--r-- | xmake/core/project/config.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/config.lua b/xmake/core/project/config.lua index a7e474338..49d093663 100644 --- a/xmake/core/project/config.lua +++ b/xmake/core/project/config.lua @@ -142,14 +142,14 @@ end -- get the configure file function config.filepath() - return path.join(config.directory(), "xmake.conf") + return path.join(config.directory(), xmake._NAME .. ".conf") end -- get the configure directory on the current host/arch platform function config.directory() if config._DIRECTORY == nil then local rootdir = os.getenv("XMAKE_CONFIGDIR") or os.projectdir() - config._DIRECTORY = path.join(rootdir, ".xmake", os.host(), os.arch()) + config._DIRECTORY = path.join(rootdir, "." .. xmake._NAME, os.host(), os.arch()) end return config._DIRECTORY end |
