can cc_proto_library support dynamic link

9 views
Skip to first unread message

zero

unread,
Jul 4, 2022, 5:27:04 AMJul 4
to bazel-discuss
I need cc_proto_library dynamic link, but it doesn't support link_static = False. 

I build a binary with link_static = True, it deps on a cc_proto_library. Finally it will static link the cc_proto_library, but I need to dynamic link. I know there is a link_static = False for cc_library, but not for cc_proto_library.

How can I achieve this function? Any advice is greatly appreciated
Reply all
Reply to author
Forward
0 new messages