Do GModules require *.la files?

Jeremy Katz katzj at redhat.com
Wed Oct 26 15:02:21 UTC 2005


On Wed, 2005-10-26 at 08:25 -0500, Rex Dieter wrote:
> Toshio Kuratomi wrote:
> > Looking at the gmodule documentation now, I see its documented that
> > g_module_open("qof_backend") would search for:
> > qof_backend
> > qof_backend.G_MODULE_SUFFIX (.so for unix-like, .dll for win, .sl for
> > HP-UX)
> > qof_backend.la
> > 
> > and use whichever opens the module.  Would this not work on all
> > platforms?
> 
> That was my point, AFAIK, no, not all platforms support "native: 
> loadable modules (ie, .so,.dll, etc...) and/or shared-libraries... they 
> need help via the .la files.

Right, so g_module_open ends up using the .la files on those platforms.
There's no need to penalize users on "sane" platforms ;-)

Jeremy




More information about the fedora-extras-list mailing list