[Cairo] cairo.pc and compress

Carl Worth cworth at east.isi.edu
Wed Dec 3 07:17:06 PST 2003


On Nov 27, Trevor Woerner wrote:
 > Did I do something wrong? The cairo.pc works a lot better for me if I 
 > add "-lz" to the list of libraries since the linker can never find the 
 > "compress" function.

No, you didn't do anything wrong.

The compress call was added with the PS backend. The missing -lz was a
bug I hadn't noticed, (I got lucky in that every program I compiled
also depended on a non-cairo library that pulled in libz).

Thanks for the report. The fix is committed.

-Carl




More information about the cairo mailing list