Julien BLACHE <j...@jblache.org> writes: > Olaf Meeuwissen <olaf.meeuwis...@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 :)
Very much aware of the modifications ;-) AFAIK, the mods only muck with the library's soname, so I'd expect the above options to work okay. I'll see if I can find some time to give this a try. Hope this helps, -- Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation FSF Associate Member #1962 sign up at http://member.fsf.org/ GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90 Penguin's lib! -- I hack, therefore I am -- LPIC-2