summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Hughes <[email protected]>2026-06-19 16:37:12 -0500
committerRoland Hughes <[email protected]>2026-06-19 16:37:12 -0500
commit97342642fcbf2f2d93e9cfa0c89acaa70f50848d (patch)
tree6c5fd67a4c9e62ad938466448e0d1b6bf2eb44df
parentdbe6b5b6f5a16e16c87964da6dad0cfdd825560d (diff)
issue 7576
Fixed XMAKE_PKG_CACHEDIR bug. Wasn't being passed to the child process.
-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