summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-06-20 23:11:52 +0800
committerGitHub <[email protected]>2026-06-20 23:11:52 +0800
commit131fde08b2097c763e4548060ef537aa453864fa (patch)
treec8ac4881084e9ffc9d648c1d191e9d29dbf28c66
parent6c3c436f3fb2b58a484d5ad163160f752ba84bdf (diff)
parent97342642fcbf2f2d93e9cfa0c89acaa70f50848d (diff)
Merge pull request #7611 from RolandHughes/cache-env-var-fix
issue 7576
-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