[sane-devel] Using "scanimage" under Gentoo

Olaf Meeuwissen paddy-hack at member.fsf.org
Wed Feb 12 11:17:17 GMT 2020

Hi Rainer,

Dr Rainer Woitok writes:

> Olaf,
> On Tuesday, 2020-02-11 17:50:54 +0900, you wrote:
>> ...
>> > # Since I'm only specifying a single backend anyway,  why not include it
>> > # right into the binary rather than load it at start-up?
>> Why not make that backend your libsane instance?
> And how to do that?   Or is that what happens automagically when I spec-
> ify neither  "--*able-dynamic"  nor "--*able-preload"  and only a single
> backend?

Just specifying a single backend still builds the `dll` backend.  That
is the usual backend to become your libsane instance.  So, no, it does
not happen automagically.

You could copy your libsane-$BACKEND.* to wherever libsane.* gets
installed, i.e. $libdir in ./configure terms.

Hope this helps,
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join

More information about the sane-devel mailing list