summaryrefslogtreecommitdiff
path: root/xmake/modules/private/action/require/impl/utils/requirekey.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-22 00:30:15 +0800
committerruki <[email protected]>2022-04-22 00:30:15 +0800
commitdb869ffcdefc0fcbc97e9cea61ac21718ae4e2d4 (patch)
tree3d79ecc95fcef072a670bd501d8bb6b8349739c4 /xmake/modules/private/action/require/impl/utils/requirekey.lua
parent08cd8e8c27448cd9af15da9fcc645366456716ba (diff)
improve package
Diffstat (limited to 'xmake/modules/private/action/require/impl/utils/requirekey.lua')
-rw-r--r--xmake/modules/private/action/require/impl/utils/requirekey.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/utils/requirekey.lua b/xmake/modules/private/action/require/impl/utils/requirekey.lua
index 330f5a961..fdd0f43da 100644
--- a/xmake/modules/private/action/require/impl/utils/requirekey.lua
+++ b/xmake/modules/private/action/require/impl/utils/requirekey.lua
@@ -31,6 +31,9 @@ function main(requireinfo, opt)
if opt.arch then
key = key .. "/" .. opt.arch
end
+ if opt.kind then
+ key = key .. "/" .. opt.kind
+ end
if opt.version then
key = key .. "/" .. opt.version
end