summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-29 23:13:55 +0800
committerGitHub <[email protected]>2021-08-29 23:13:55 +0800
commit8e2369b972733f8e080827f71ec6e91bdb3e8d9c (patch)
tree1c2350408718519142c1cbe237fd6c2570f92646
parent4497dd33fb475a388d5d51192d432b0156be78a3 (diff)
parentecb41e660c2c74d4655904bf3630e85f290e471b (diff)
Merge pull request #1616 from SirLynix/patch-6
Fix typo in package.lua
-rw-r--r--xmake/modules/private/action/require/impl/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua
index c3d642964..b26eaaf6d 100644
--- a/xmake/modules/private/action/require/impl/package.lua
+++ b/xmake/modules/private/action/require/impl/package.lua
@@ -227,7 +227,7 @@ function _get_locked_requires(requirekey, opt)
end
if requireslock then
local plat = config.plat() or os.subhost()
- local arch = config.arch() or so.subarch()
+ local arch = config.arch() or os.subarch()
local key = plat .. "|" .. arch
if requireslock[key] then
return requireslock[key][requirekey], requireslock.__meta__.version