summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/protobuf/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/protobuf/xmake.lua b/xmake/rules/protobuf/xmake.lua
index d3fef18cc..40d759f13 100644
--- a/xmake/rules/protobuf/xmake.lua
+++ b/xmake/rules/protobuf/xmake.lua
@@ -56,7 +56,7 @@ rule("protobuf.c")
import("proto").build_sourcefiles_proto(target, batchjobs, sourcebatch, opt, "cc")
end, {batch = true})
on_build_files(function (target, batchjobs, sourcebatch, opt)
- import("proto").build_compiled_sourcefiles_proto(target, batchjobs, sourcebatch, opt, "cxx")
+ import("proto").build_compiled_sourcefiles_proto(target, batchjobs, sourcebatch, opt, "cc")
end, {batch = true})