diff --git a/src/google/protobuf/compiler/cpp/helpers.cc b/src/google/protobuf/compiler/cpp/helpers.cc index 9740ac1cb2..b8a55fe7ff 100644 --- a/src/google/protobuf/compiler/cpp/helpers.cc +++ b/src/google/protobuf/compiler/cpp/helpers.cc @@ -1422,6 +1422,8 @@ bool GetBootstrapBasename(const Options& options, const std::string& basename, "net/proto2/compiler/proto/plugin"}, {"net/proto2/compiler/proto/profile", "net/proto2/compiler/proto/profile_bootstrap"}, + {"third_party/protobuf/extension_declaration", + "third_party/protobuf/extension_declaration_bootstrap"}, }; auto iter = bootstrap_mapping->find(basename); if (iter == bootstrap_mapping->end()) {