On Jun 25, 2001, [EMAIL PROTECTED] wrote:

> 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?

Yep.  In general, you can't have multiple libraries with the same base
name.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to