summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhii Olendarenko <[email protected]>2025-08-21 11:27:19 +0200
committerGitHub <[email protected]>2025-08-21 11:27:19 +0200
commit088ad2f61bc4f8d1d2228dc6eec9e25d15b2c3e6 (patch)
treedc4f32d1a2fd3805a7100afa6ceec31d17ff7b06
parent328ccd311ff96def7d093b898669259329b859db (diff)
fix(qt.qmltyperegistrar): Get rid of redundant packing into tables
-rw-r--r--xmake/rules/qt/qmltyperegistrar/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/qt/qmltyperegistrar/xmake.lua b/xmake/rules/qt/qmltyperegistrar/xmake.lua
index b7f9658e8..e090a8876 100644
--- a/xmake/rules/qt/qmltyperegistrar/xmake.lua
+++ b/xmake/rules/qt/qmltyperegistrar/xmake.lua
@@ -126,8 +126,8 @@ rule("qt.qmltyperegistrar")
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.qt.qmltyperegistrar %s", path.filename(sourcefile))
batchcmds:compile(sourcefile, objectfile)
- batchcmds:add_depvalues({importname, majorversion, minorversion})
- batchcmds:add_depfiles(table.join(sourcebatch.sourcefiles, sourcefile))
+ batchcmds:add_depvalues(importname, majorversion, minorversion)
+ batchcmds:add_depfiles(sourcefile, sourcebatch.sourcefiles)
batchcmds:set_depmtime(os.mtime(objectfile))
batchcmds:set_depcache(target:dependfile(objectfile))
end)