summaryrefslogtreecommitdiff
path: root/xmake/rules/swig/build_module_file.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-24 23:03:27 +0800
committerruki <[email protected]>2025-01-24 23:03:27 +0800
commit8be99bc6983b35ef18ed2147487fd28118bd34d7 (patch)
tree4d0640a38ae140ee4d18320168de7d621a9e419c /xmake/rules/swig/build_module_file.lua
parent1b1ed22d618e6c31ede1cf2f1168476b504f5deb (diff)
improve to parser deps
Diffstat (limited to 'xmake/rules/swig/build_module_file.lua')
-rw-r--r--xmake/rules/swig/build_module_file.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/rules/swig/build_module_file.lua b/xmake/rules/swig/build_module_file.lua
index 3e6af313f..2cb289302 100644
--- a/xmake/rules/swig/build_module_file.lua
+++ b/xmake/rules/swig/build_module_file.lua
@@ -182,7 +182,8 @@ function swig_build_file(target, sourcefile, opt, par)
local deps = io.readfile(swigdep, {continuation = "\\"})
os.tryrm(swigdep)
dependinfo.files = {sourcefile}
- dependinfo.depfiles_gcc = deps
+ dependinfo.depfiles_format = "gcc"
+ dependinfo.depfiles = deps
dependinfo.values = argv
depend.save(dependinfo, target:dependfile(objectfile))