No subject


Sat Dec 3 12:15:27 GMT 2022


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> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169




More information about the sane-devel mailing list