Symbols from convenience library not getting exported in executable

前端 未结 2 1807
野性不改
野性不改 2020-12-03 12:19

I have a program, myprogram, which is linked with a static convenience library, call it libconvenience.a, which contains a function, func()

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-03 12:58

    If you need func to be in plugin.so, you should try and locate it there if possible. Convenience libraries are meant to be just that -- a convenience to link to an executable or lib as an intermediate step.

提交回复
热议问题