alwayslink=1 for reflection plugin

The reflection plugin uses a static initializer to
enable itself, but no one depends on its symbols, so it gets
optimized out.

Set alwayslink in the reflection plugin to fix that.
pull/11519/head
Ian Coolidge 8 years ago
parent 6b08cf4c81
commit 13213419f6
  1. 1
      BUILD

@ -1522,6 +1522,7 @@ grpc_cc_library(
":grpc++",
"//src/proto/grpc/reflection/v1alpha:reflection_proto",
],
alwayslink = 1,
)
grpc_cc_library(

Loading…
Cancel
Save