summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2009-10-02 13:24:54 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2009-10-02 13:24:54 +0200
commit49836dc43c3ad70c93c3af2141e7c8fb7ee4e5e1 (patch)
tree0aca3428a34b8008dad2cdb5ebfa5f4b41967f70
parent48688b76170c79b0569c21ae49474a358c8e1a93 (diff)
libsynthesis + autotools: must be linked against libzlibsynthesis_3.2.0.35+syncevolution-0-9-1-beta1
When compiling with the autotools, libz is always taken from the system. Therefore libsynthesis must be linked against it unconditionally. This worked before if the application was linked against libz via some other library, but failed in a minimalistic link test with just libsyncevolution/libsynthesissdk/libsynthesis.
-rw-r--r--src/Makefile.am.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am.in b/src/Makefile.am.in
index 7ff58aa..0db8b55 100644
--- a/src/Makefile.am.in
+++ b/src/Makefile.am.in
@@ -54,7 +54,7 @@ LIBSYNTHESIS_CFLAGS = \
$(PCRE_CFLAGS) $(SQLITE3_CFLAGS) $(ZLIB_CFLAGS) $(XMLPARSE_CFLAGS) $(LIBICAL_CFLAGS) $(LIBECAL_CFLAGS)
libsynthesis_la_CFLAGS = $(LIBSYNTHESIS_CFLAGS)
libsynthesis_la_CXXFLAGS = $(LIBSYNTHESIS_CFLAGS)
-libsynthesis_la_LIBADD = $(PCRE_LIBS) $(SQLITE3_LIBS) $(XMLPARSE_LIBS) $(LIBICAL_LIBS) $(LIBECAL_LIBS) libsmltk.la
+libsynthesis_la_LIBADD = $(PCRE_LIBS) $(SQLITE3_LIBS) $(XMLPARSE_LIBS) $(LIBICAL_LIBS) $(LIBECAL_LIBS) libsmltk.la -lz
if COND_XMLPARSE
LIBSYNTHESIS_CFLAGS += -I$(srcdir)/expat -I$(srcdir)/expat/xmltok -I$(srcdir)/expat/xmlparse
libsynthesis_la_SOURCES += \