summaryrefslogtreecommitdiff
path: root/xmake/modules/private/cache/build_cache.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/private/cache/build_cache.lua')
-rw-r--r--xmake/modules/private/cache/build_cache.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/cache/build_cache.lua b/xmake/modules/private/cache/build_cache.lua
index 5c5f9d0a6..2ae2bb96b 100644
--- a/xmake/modules/private/cache/build_cache.lua
+++ b/xmake/modules/private/cache/build_cache.lua
@@ -134,7 +134,7 @@ function rootdir()
if not cachedir then
cachedir = path.join(config.buildir(), ".build_cache")
end
- _g.cachedir = cachedir
+ _g.cachedir = path.absolute(cachedir)
end
return cachedir
end