libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search paths with duplicated .la libraries


From: Alexandre Oliva
Subject: Re: Search paths with duplicated .la libraries
Date: 04 Jul 2001 07:29:08 -0300
User-agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Academic Rigor)

On Jun 25, 2001, address@hidden 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                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

[Prev in Thread] Current Thread [Next in Thread]