[sane-devel] Build modules as libtool modules?

Julien BLACHE jb at jblache.org
Fri Oct 26 13:26:22 UTC 2007


Johannes Meixner <jsmeix at suse.de> wrote:

Hi,

> since openSUSE 10.3 we apply the attached (gzipped) patch
> (which I got from a colleague) to build modules as libtool modules.
>
> I am really really no libtool expert at all so that I don't know
> if it can make sense for you to build modules as libtool modules.

SANE backends are regular, full-fledged shared libraries that are
totally and transparently interchangeable.

What's called libsane.so is in fact the dll pseudo-backend which goes
and dlopen()s the other backends. You can cp
/usr/lib/sane/libsane-foo.so /usr/lib/libsane.so and it'll just work.

So this patch has no reason to exist at all. Also note that the
libtool script used in sane-backends is slightly modified to support
that.

Please drop this patch from OpenSUSE, as you're now incompatible with
the rest of the SANE world.

JB.

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



More information about the sane-devel mailing list