diff options
| author | ruki <[email protected]> | 2025-01-24 23:03:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-01-24 23:03:27 +0800 |
| commit | 8be99bc6983b35ef18ed2147487fd28118bd34d7 (patch) | |
| tree | 4d0640a38ae140ee4d18320168de7d621a9e419c /xmake/rules | |
| parent | 1b1ed22d618e6c31ede1cf2f1168476b504f5deb (diff) | |
improve to parser deps
Diffstat (limited to 'xmake/rules')
| -rw-r--r-- | xmake/rules/swig/build_module_file.lua | 3 |
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)) |
