Stripping linux shared libraries

前端 未结 6 1941
醉梦人生
醉梦人生 2020-12-12 18:00

We\'ve recently been asked to ship a Linux version of one of our libraries, previously we\'ve developed under Linux and shipped for Windows where deploying libraries is gene

6条回答
  •  醉梦人生
    2020-12-12 18:55

    Just to note that Ulrich Drepper wrote an essay regarding (all?) aspects of writing shared libraries for Linux/Unix, which covers control of exported symbols amongst many other topics.

    This was very handy in making it clear how to export only functions on a whitelist from a shared lib.

提交回复
热议问题