summaryrefslogtreecommitdiff
path: root/xmake/core/project/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-24 22:53:05 +0800
committerruki <[email protected]>2023-10-24 22:53:05 +0800
commit66b43560f7cf25b20ecb78a85dc17fe1f975bb48 (patch)
tree52e461ab60c8c76d6b5a8ae8a379121991573df9 /xmake/core/project/package.lua
parent645d407a01aa69d35d5340c66f5e109583e4c427 (diff)
pass extras to tools
Diffstat (limited to 'xmake/core/project/package.lua')
-rw-r--r--xmake/core/project/package.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/project/package.lua b/xmake/core/project/package.lua
index cf372022f..63267a04e 100644
--- a/xmake/core/project/package.lua
+++ b/xmake/core/project/package.lua
@@ -206,6 +206,9 @@ function _instance:extraconf(name, item, key)
local value = extraconf
if item then
value = extraconf and extraconf[item] or nil
+ if value == nil and extraconf and type(item) == "table" then
+ value = extraconf[table.concat(item, "_")]
+ end
if value and key then
value = value[key]
end