can cc_proto_library support dynamic link

24 views
Skip to first unread message

zero

unread,
Jul 4, 2022, 5:27:04 AM7/4/22
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