mirror of https://github.com/grpc/grpc.git
1) src/cpp/client/channel_cc.cc uses ::grpc::g_core_codegen_interface. 2) GRPCXX_SRCS includes src/cpp/client/channel_cc.cc 3) "grpc++_codegen_base_src" contains src/cpp/codegen/codegen_init.cc which has ::grpc::g_core_codegen_interface. 3) "grpc++_base" and "grpc++_base_unsecure" includes GRPCXX_SRCS. 4) But, "grpc++_base" and "grpc++_base_unsecure" don't include "grpc++_codegen_base_src" at all which creates unsatisfied linker error in some targets unless they depend on "grpc++_codegen_base_src" themselves. Solution: Make "grpc++_base" and "grpc++_base_unsecure" depend upon "grpc++_codegen_base_src".pull/20312/head
parent
74f8da0ae9
commit
8031a0a7ab
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue