Bob Friesenhahn <[EMAIL PROTECTED]> writes:
> On Mon, 3 Jul 2006, Albert Chin wrote:

>> Is libneon a static library? If not, and libneon has the 3rd-party
>> libraries as dependencies, why shouldn't linking with just -lneon
>> work?

> As you are well aware, this only works on systems where the linker
> applies implicit dependency libraries during linking.  Failure results
> when a shared lib does not specify any dependencies, or the OS does not
> support it.

> For example, specifying just -lpng might not cause the linker to
> implicitly add -lz.

Note that the linker that needs to figure this out is actually the dynamic
linker as such dependencies should be resolved at run-time, *not* at link
time.  A linker that does such resolution at link time actually re-adds
most of the problems that libtool currently causes.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to