On Tue, Sep 07, 2010 at 19:55:25 +0200, Jakub Bogusz wrote: >> %files static >> %defattr(644,root,root,755) >> %{_libdir}/libcairo.a >> +%{_libdir}/libcairo-gobject.a >> +%{_libdir}/libcairo-gobject.la > > Too baaad... this causes that *.la of libs/modules using > libcairo-gobject would have different dependencies (-lcairo-gobject or > libcairo-gobject.la) depending on presence of cairo-static.
All those .la files should be moved to their -static as well. As for generated dependencies builders don't have *-static installed, so pkgconfig would be used and in resoult -lcairo-gobject should be put. Or maybe building *-static _should_ require -static and not only -devel? > Either move this .la to -devel, or remove at all. Regular .la are part of _static_ building, so there's no place in -devel for them. It only causes troubles. There was a discussion (well, not too many of 'discussion' were there) recently, please read this and continue there. Also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581352 In short: instead removing I've suggested repackaging into *-static, just because in contrary to other distros we support this kind of build. Without .la files there we might remove all the *-static too, as in general they would be useless. -- Tomasz Pala <go...@pld-linux.org> _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en