Am Montag, 3. Oktober 2011, 10:50:25 schrieb Alexander Neundorf: > On Sunday 02 October 2011, Rolf Eike Beer wrote: > > On Sa., 1. Okt. 2011 18:40:09 CEST, Alexander Neundorf > > <neund...@kde.org> > > wrote: > > > If library bar internally uses symbols from foo, > > > it needs to link against foo. > > > > Correct. > > > > > But if bar doesn't expose symbols from foo in its > > > interface, and my executable hello links against bar, it doesn't > > > also > > > have to be linked against foo. This saves startup time and other > > > things. Packagers also like that. > > > > No, you got something wrong here. > > Let me restate my sentence from above more verbose: > "... and my executable hello links against bar, using only symbols exposed > by bar, and not using symbols from foo, it doesn't also have to be linked > against foo."
Ah, yes. Then it makes perfect sense. Eike
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers