Re: loadble module
Xavier Bestel <[email protected]>
| Newsgroups | gmane.comp.freedesktop.xserver |
|---|---|
| Message-ID | <1074069828.758.30.camel@nomade> |
Le mer 14/01/2004 à 06:11, Keith Packard a écrit : > Around 23 o'clock on Jan 13, Sean Middleditch wrote: > > > Systems where you know dlopen() works as you need, just use it directly, > > and on other systems use libltdl. > > heh. we should see if libltdl is usable first... If not, I'd just code up > the dlopen solution and let poor users without it deal with the problems > by submitting patches. But then, I'm lazy, myself. If adding GLib dependency isn't considered evil, there's also GModule which is a rather nice portable loadable modules implementation. See: http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html Xav