diff options
| author | ruki <[email protected]> | 2024-09-08 21:43:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-09-08 21:43:00 +0800 |
| commit | 6838794535263d2c9e5c9a41816b712aeb8650b3 (patch) | |
| tree | cc1e52cf6f66aef4f966ca6966331c9bd01ffba9 /xmake/modules | |
| parent | 899aefb36edd5a381645fec00e6defbec90a51b9 (diff) | |
fix package installdir
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/xrepo/action/env.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua index 21b77211e..e6263151c 100644 --- a/xmake/modules/private/xrepo/action/env.lua +++ b/xmake/modules/private/xrepo/action/env.lua @@ -176,7 +176,7 @@ function _package_addenvs(envs, instance) end -- add run envs, e.g. PATH, LD_LIBRARY_PATH, DYLD_LIBRARY_PATH - local installdir = instance:installdir() + local installdir = instance:installdir({readonly = true}) for name, values in pairs(instance:envs()) do _addenvs(envs, name, table.unpack(table.wrap(values))) end |
