[sane-devel] [RFC] On libsane symbols visibility

Julien BLACHE jb at jblache.org
Wed May 9 09:07:39 UTC 2007


Olaf Meeuwissen <olaf.meeuwissen at avasys.jp> wrote:

Hi,

> Seconded, but sane-backends uses libtool so I think you can achieve
> what you are trying to quite easily without modifying sources using
> one of the following options:
>
>   -export-symbols SYMFILE
>                     try to export only the symbols listed in SYMFILE
>   -export-symbols-regex REGEX
>                     try to export only the symbols matching REGEX
>
> Haven't tried this myself so YMMV.

That would be an excellent solution, provided it works with our
modified version of libtool (for those unaware of it, sane-backends
uses a slightly modified libtool version, so be careful if you feel
like updating it :)

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the sane-devel mailing list