diff options
Diffstat (limited to 'xmake/rules/protobuf/module_parser.lua')
| -rw-r--r-- | xmake/rules/protobuf/module_parser.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/protobuf/module_parser.lua b/xmake/rules/protobuf/module_parser.lua index 163d36df2..d6d0486f7 100644 --- a/xmake/rules/protobuf/module_parser.lua +++ b/xmake/rules/protobuf/module_parser.lua @@ -36,7 +36,7 @@ end -- generate module deps for the given file function _generate_moduledeps(target, sourcefile, opt) local dependfile = _get_dependfile_of_modulesource(target, sourcefile) - depend.on_changed(function () + depend._on_changed(function () -- trace vprint("generating.proto.moduledeps %s", sourcefile) @@ -70,7 +70,7 @@ function _generate_moduledeps(target, sourcefile, opt) return dependinfo end - end, {dependfile = dependfile, files = {sourcefile}}) + end, {dependfile = dependfile, files = {sourcefile}, changed = target:is_rebuilt()}) end -- build batch jobs with deps |
