[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking against indirect dependencies
From: |
Albert Chin |
Subject: |
Re: Linking against indirect dependencies |
Date: |
Mon, 24 May 2004 12:01:15 -0500 |
User-agent: |
Mutt/1.5.6i |
On Mon, May 24, 2004 at 08:19:00AM +0200, Szombathelyi Gy?rgy wrote:
> I've just curious if is it possible _not_ to link a program/lib against
> its indirect dependencies. I mean if libC is linked against libB and
> libB is against libA then libtool will link libC against libA, which is
> not neccessary in most situations (at least not on Linux, but I guess
> not in most ELF platforms). What I've discovered is that libtool always
> links against all the depencency_libs in the .la file. Here's a thread
> about this issue in KDE:
> http://lists.kde.org/?l=kde-core-devel&m=108534182408921&w=2
dependency_libs doesn't contain just libraries. Maybe LDFLAGS as well,
like -pthread. BTW, is it _really_ a problem to link against
everything in dependency_libs? Indirectly, this is going to happen
anyway even if libtool doesn't do this.
--
albert chin (address@hidden)
- Linking against indirect dependencies, Szombathelyi György, 2004/05/24
- Re: Linking against indirect dependencies,
Albert Chin <=
- Re: Linking against indirect dependencies, Szombathelyi György, 2004/05/25
- Re: Linking against indirect dependencies, Albert Chin, 2004/05/25
- Re: Linking against indirect dependencies, Szombathelyi György, 2004/05/26
- Re: Linking against indirect dependencies, Bob Friesenhahn, 2004/05/26
- Re: Linking against indirect dependencies, Alexandre Oliva, 2004/05/29
- Re: Linking against indirect dependencies, Szombathelyi György, 2004/05/29