[cairo] [PATCH] Pull -lz for the script backend

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Fri Aug 12 13:08:29 UTC 2016


On 12.08.2016 11:04, Olivier Blin wrote:

>> Looks like this would silently disable the script backend if libz
>> is missing. IMHO, a very bad idea - instead it should break with a
>> proper error message.
> This is actually copy/paste of what is already properly done for the
> PostScript and PDF backends.
> 
> CAIRO_ENABLE_SURFACE_BACKEND(pdf, PDF, yes, [
>     # The pdf backend requires zlib.
>     use_pdf=$have_libz
>     pdf_NONPKGCONFIG_LIBS=-lz
> ])

Right, there seems to be the same problem.
I'd suggest emitting an error here.


--mtx



More information about the cairo mailing list