>> Maybe one question towards libtool maintainers is left: >> Is that detection of lib/libjpeg.la a desired behavior? I just pass >> -ljpeg as an LDFLAGG, not as a LIBADD library... > > Yes, it is. It is also intentional that .la files are installed > (of course for non-convenience archives only), and those installed > libfoo.la files are taken into account when -lfoo is passed.
Well, this is not about detecting of installed .la files, but about rather unexpected detection of .la files located in the build directory (that is also named 'lib'). It seems that the current build directory is implicitly passed as an -L. flag to the libtool-supervised linker _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool