Kevin P. Fleming wrote:
Bob Friesenhahn wrote:

For the application I support, we use our own directory scanner to
look for modules (.la files) to load via a fully-qualified path.  It
would be useful if this capability was included as part of libltdl.


You can pass a directory path to lt_dlforeachfile, which will then call your callback function with extension-stripped filenames that it finds in that directory. Your callback function can then call lt_dlopen or lt_dlopenext, whatever is appropriate.

Exactly. I added lt_dlforeachfile specifically to save having to write custom directory walkers... Bob, if you find lt_dlforeachfile is lacking something you require, bring it up on this list, and we'll see about adding it into libltdl.


Cheers,
        Gary.
--
  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to