Hi, On 5 July 2013 20:35, Thiago Macieira <thiago.macie...@intel.com> wrote: > First, it mentions that Requires.private is *not* used in dynamic linking. > Then it changes its mind with that last sentence, which is cryptic. > > In any case, the actual behaviour is that Requires.private is used in dynamic > linking. It adds -I flags, but no -L or -l flags.
Sure, it only adds -l and -L for static linking, because .a archives don't have any equivalent of ELF's DT_NEEDED. So if your libweston.so links to libpixman.so, you need to add pixman in Requires.private, because otherwise static linking of -lweston will fail with unresolved symbols from pixman. .la files were meant to solve this, but just introduced even more problems. Cheers, Daniel _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel