Missing symbols from static library in linked executable

前端 未结 1 1889
执念已碎
执念已碎 2021-01-18 18:09

I have a problem with static library symbols missed in linked executable. Here is the description of my problem:

I have static library built from several object file

1条回答
  •  孤独总比滥情好
    2021-01-18 18:56

    Use -rdynamic -Wl,-whole-archive -Wl,-no-whole-archive - one of your libs aren't within --whole-archive

    0 讨论(0)
提交回复
热议问题