summaryrefslogtreecommitdiff
path: root/xmake/modules/private/cache/build_cache.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-15 23:03:33 +0800
committerruki <[email protected]>2024-07-15 23:03:33 +0800
commit22df8e0d89a1d8f3358797ed2094f692be62b4e4 (patch)
tree730ef79baa693f952ba4f26868a7651073a94e19 /xmake/modules/private/cache/build_cache.lua
parent8691433782a9d16b42d39603161909df034e0892 (diff)
fix build cachedir
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