[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Search paths with duplicated .la libraries
From: |
libtool |
Subject: |
Search paths with duplicated .la libraries |
Date: |
Sun, 24 Jun 2001 23:14:57 -0500 |
User-agent: |
Mutt/1.2.5i |
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 (address@hidden)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Search paths with duplicated .la libraries,
libtool <=