weixinwei commented on issue #1312:
URL: https://github.com/apache/incubator-brpc/issues/1312#issuecomment-751160297


   > 你是怎么做到同时链接的?
   
   
cmake,一个进程下分为几个模块,有的模块直接target_link_libraries(brpc),有的模块检查了LINK_SO,就链到了libbrpc.a。
   看cmake的link.txt也能看到-lbrpc ../../lib/libheap_profiler.a 
../../lib/libcpu_profiler.a ../../lib/liblua.a -lm /usr/lib64/libdl.so 
/usr/lib64/libbrpc.a /usr/lib64/libgflags.so /usr/lib64/libleveldb.so -lssl -ldl


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to