summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-10 22:34:14 +0800
committerruki <[email protected]>2024-01-10 22:34:14 +0800
commit9275a5f00ba06e300d8472f5cb6590327173f2ed (patch)
tree525996e80b2ffc4a5eed912258f4ad5a27928a25 /xmake/core/tool/builder.lua
parenteb90591a3962ae0d03115577b3b60bf9f376e606 (diff)
improve extraconf_from order
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index cfd3d19cf..255b69ca1 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -391,7 +391,7 @@ function builder:_add_items_from_target(items, name, opt)
if result then
for idx, values in ipairs(result) do
local source = sources[idx]
- local extras = target:extraconf_from(source, name)
+ local extras = target:extraconf_from(name, source)
values = table.wrap(values)
if values and #values > 0 then
table.insert(items, {