Making static symbols private/local in shared libraries
I have three (c) obj files that I want to combine into one shared library. The problem I run into is not all symbols that were defined as static are in fact treated as locally defined (i.e. private) to that library.
OBJs are compiled with -fPIC, final library is made with '-shared -Wl'. I have read most of the manuals regarding this topic and must be overlooking something.
Any pointers would be helpful.
|