阅读背景:

如何防止从静态链接库导出符号?

来源:互联网 

I have created a shared library on linux x86. In creating it, I have statically linked in openssl. OpenSSL is only used internally however I see that the openssl symbols have been exported. This is causing problems for other libraries that need my library AND openssl because the wrong symbol can be loaded at runtime. Is there a way to prevent all of the openssl symbols from getting exported when I statically link it into my shared library?I have created a shared library on linux x86. I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: