[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lib seach path
From: |
Ralf Wildenhues |
Subject: |
Re: lib seach path |
Date: |
Sun, 13 Dec 2009 11:14:58 +0100 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
* Joakim Tjernlund wrote on Sat, Dec 12, 2009 at 04:33:49PM CET:
>
> We have this big directory structure which contains both apps and libs.
> The apps needs lots of libs that are scattered in various sub dirs.
> It is rather messy to add lots -LDIR options to apps linking stage.
For dependencies on libraries within the build tree, prefer relative
file references over link flags; i.e., write
../lib/libfoo.la rather than -L../lib -lfoo
That way, automake (which I assume you're using) will know to rebuild
the output when libfoo changes.
> Is there a way to tell libtool after it has built a lib to do a "subinstall"
> of the
> lib into some dir in the build tree so that one don't have to specify lots
> of -LDIR options, just to the one dir instead?
No.
Cheers,
Ralf
- lib seach path, Joakim Tjernlund, 2009/12/12
- Re: lib seach path,
Ralf Wildenhues <=
- Re: lib seach path, Joakim Tjernlund, 2009/12/13
- Re: lib seach path, Ralf Wildenhues, 2009/12/14
- Re: lib seach path, Joakim Tjernlund, 2009/12/14
- Re: lib seach path, Ralf Wildenhues, 2009/12/14
- Re: lib seach path, Joakim Tjernlund, 2009/12/15
- Re: lib seach path, Ralf Wildenhues, 2009/12/15