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

Olivier Blin olivier.blin at softathome.com
Thu Nov 26 09:56:48 PST 2015


It uses cairo_deflate_stream.
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 2ce1959..d90cf10 100644
--- a/configure.ac
+++ b/configure.ac
@@ -470,6 +470,9 @@ dnl ===========================================================================
 any2ppm_cs=no
 CAIRO_ENABLE_SURFACE_BACKEND(script, script, yes, [
   any2ppm_cs=yes
+  # The script backend requires zlib.
+  use_script=$have_libz
+  script_NONPKGCONFIG_LIBS=-lz
 ])
 
 dnl ===========================================================================
-- 
2.6.3



More information about the cairo mailing list