Pieter Grimmerink <[EMAIL PROTECTED]> writes: > OK, now I've given the library in -L<dir> a .la file as well. Now both > libraries have a .la file, and libtool-1.5.2 uses the correct library, > in -L<dir>. So that's solved then.
So, basically, it sounds like libtool has reinvented the very annoying Tru64 library search mechanism, where any shared libraries are found before static libraries regardless of the relative order on the library path, except as applied to *.la files. This sounds like a bug to me. The Tru64 behavior causes no end of surprises and means that you can't easily link with (often newer) locally installed static libraries if the operating system happens to come with some dynamic library by the same name. What was the reason for this change, or was it accidental? -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool