Explicitly link to -lz for SoupCodingGzip
authorDan Winship <danw@gnome.org>
Mon, 18 Jan 2010 20:11:43 +0000 (15:11 -0500)
committerDan Winship <danw@gnome.org>
Mon, 18 Jan 2010 20:11:43 +0000 (15:11 -0500)
(On Linux we get it implicitly via -lxml, but on OS X that won't
work.)

Reported by Daniel Macks
https://bugzilla.gnome.org/show_bug.cgi?id=606959

libsoup/Makefile.am

index 53fae83..284d85f 100644 (file)
@@ -99,6 +99,7 @@ libsoup_2_4_la_LDFLAGS =      \
 libsoup_2_4_la_LIBADD =                        \
        $(GLIB_LIBS)                    \
        $(XML_LIBS)                     \
+       -lz                             \
        $(LIBGNUTLS_LIBS_STATIC)        \
        $(LIBGNUTLS_LIBS)               \
        $(LIBGCRYPT_LIBS)               \