I think this is what the -export-dynamic flag is for.
Carlo Wood wrote:
I have a normal application (not a shared library thus) which uses convenience libraries in subdirectories.
This application also uses libltdl - in order to load modules. These modules needs to resolve symbols from the application, symbols that are in fact in the convenience libraries.
The application itself doesn't use these symbols. As a result - the symbols are not put into the application! And loading the modules fails (or at least, calling the missing functions fails).
What is needed here is obvious: I need to link the application with the --whole-archive/--no-whole-archive linker flags around the convenience libraries.
But, libtool doesn't let me do that :/
-- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support
_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool
