* 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 _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool