Hi,

>From Makefile.in :

libsane.la: dll.lo dll-s.lo $(EXTRA) $(addsuffix .lo,$(DLL_PRELOAD)) $(LIBOBJS) 
        @$(LIBTOOL) $(MLINK) $(CC) -o $@ $(LDFLAGS) $(BACKENDLIBS)  $^ \ 
                $(addsuffix .lo,$(DLL_PRELOAD_EXTRAS)) @LIBTOOL_LINK_EXTRA@ \ 
                -rpath $(libsanedir) -version-info 
$(V_MAJOR):$(V_REV):$(V_MINOR) 
                       ^^^^^^^^^^^^^

This causes libsane.la to contain /usr/lib/sane as its libdir,
although libsane.so is installed into /usr/lib.

libtool will then complain that libsane.la got moved, and will fail to
link any dependent library (itself using libtool).

$(libsanedir) should be changed to $(libdir) in the above; Henning,
can this go in for 1.0.15 ?

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<[email protected]>                                  GPG KeyID 0xF5D65169

Reply via email to