summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/package/tools/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua
index a49a9bf61..4efee0974 100644
--- a/xmake/modules/package/tools/xmake.lua
+++ b/xmake/modules/package/tools/xmake.lua
@@ -534,6 +534,7 @@ function install(package, configs, opt)
if package:is_local() and not package:is_source_embed() then
envs = table.clone(envs)
envs.XMAKE_PKG_INSTALLDIR = package_core.installdir({localdir = true})
+ envs.XMAKE_PKG_CACHEDIR = package_core.cachedir({localdir = true})
end
-- pass local repositories