summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-01 21:02:03 +0800
committerGitHub <[email protected]>2026-04-01 21:02:03 +0800
commit39fd35ea9d5d14079e4669b85423d488c9097cd4 (patch)
tree7d4452174422931fe8a56f49b2d349b4b7cc90b3 /xmake/modules/private/utils/package.lua
parent75b084fa57f2fe00f369d9cac3878c03da43a68a (diff)
parentc63ac2d50545f2f58872c5be9a46d8fb5b3e8016 (diff)
Merge pull request #7437 from xmake-io/lua55
update to lua5.5
Diffstat (limited to 'xmake/modules/private/utils/package.lua')
-rw-r--r--xmake/modules/private/utils/package.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/private/utils/package.lua b/xmake/modules/private/utils/package.lua
index 6df309f5f..c964c3ad3 100644
--- a/xmake/modules/private/utils/package.lua
+++ b/xmake/modules/private/utils/package.lua
@@ -22,6 +22,7 @@
function _concat_packages(a, b)
local result = table.copy(a)
for k, v in pairs(b) do
+ local v = v
local o = result[k]
if o ~= nil then
v = table.join(o, v)
@@ -29,6 +30,7 @@ function _concat_packages(a, b)
result[k] = v
end
for k, v in pairs(result) do
+ local v = v
if k == "links" or k == "syslinks" or k == "frameworks" or k == "ldflags" or k == "shflags" then
if type(v) == "table" and #v > 1 then
-- we need to ensure link orders when removing repeat values