Say I have:
/opt/dir1/
libfoo.a
libfoo.la
/opt/dir2/
libfoo.so
libfoo.la
If I:
libtool --mode-link cc -L/opt/dir2 -L/opt/dir1 ...
then libtool uses /opt/dir2/libfoo.la. However, if I:
libtool --mode-link cc -L/opt/dir1 -L/opt/dir2 ...
then libtool uses /opt/dir1/libfoo.la even though a shared library
exists in /opt/dir2/libfoo.la and not in /opt/dir1/libfoo.la. Is this
the desired behaviour? Does libtool care about the first .la it finds
or the first .la with a shared library (if not linking statically)?
I'm using MLB.
--
albert chin ([EMAIL PROTECTED])
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool