packages: cairo/cairo-link.patch, cairo/cairo.spec - 1.10.0 - merged from d...

Patryk Zawadzki patrys at pld-linux.org
Tue Sep 7 20:59:39 CEST 2010


On Tue, Sep 7, 2010 at 7:55 PM, Jakub Bogusz <qboosh at pld-linux.org> wrote:
> On Tue, Sep 07, 2010 at 12:45:15PM +0200, patrys 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.
> This is not acceptable.
>
> Either move this .la to -devel, or remove at all.

Last time I checked libtool complained when you asked it to link
statically without a .la file present. If it stays quiet now, I'll
more than gladly drop the .la file.

-- 
Patryk Zawadzki


More information about the pld-devel-en mailing list