From db869ffcdefc0fcbc97e9cea61ac21718ae4e2d4 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 22 Apr 2022 00:30:15 +0800 Subject: improve package --- xmake/modules/private/action/require/impl/utils/requirekey.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xmake/modules/private/action/require/impl/utils/requirekey.lua') 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 -- cgit v1.3.1