dovecot-2.0: test-* programs weren't linking enough libraries in...

dovecot at dovecot.org dovecot at dovecot.org
Sun May 17 21:40:39 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/c90da6423ff3
changeset: 9302:c90da6423ff3
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 17 14:40:34 2009 -0400
description:
test-* programs weren't linking enough libraries in all systems.

diffstat:

3 files changed, 8 insertions(+), 3 deletions(-)
src/lib-imap/Makefile.am  |    4 +++-
src/lib-index/Makefile.am |    4 +++-
src/lib-mail/Makefile.am  |    3 ++-

diffs (61 lines):

diff -r 6e0ea2caf655 -r c90da6423ff3 src/lib-imap/Makefile.am
--- a/src/lib-imap/Makefile.am	Sun May 17 14:27:07 2009 -0400
+++ b/src/lib-imap/Makefile.am	Sun May 17 14:40:34 2009 -0400
@@ -45,13 +45,15 @@ noinst_PROGRAMS = $(test_programs)
 
 test_libs = \
 	libimap.la \
+	../lib-mail/libmail.la \
+	../lib-charset/libcharset.la \
 	../lib-test/libtest.la \
 	../lib/liblib.la
 
 test_imap_SOURCES = \
 	test-imap.c
 
-test_imap_LDADD = $(test_libs)
+test_imap_LDADD = $(test_libs) $(LTLIBICONV)
 test_imap_DEPENDENCIES = $(test_libs)
 
 check: check-am check-test
diff -r 6e0ea2caf655 -r c90da6423ff3 src/lib-index/Makefile.am
--- a/src/lib-index/Makefile.am	Sun May 17 14:27:07 2009 -0400
+++ b/src/lib-index/Makefile.am	Sun May 17 14:40:34 2009 -0400
@@ -61,7 +61,9 @@ test_libs = \
 test_libs = \
 	libindex.la \
 	../lib-test/libtest.la \
+	../lib-imap/libimap.la \
 	../lib-mail/libmail.la \
+	../lib-charset/libcharset.la \
 	../lib/liblib.la
 
 test_index_SOURCES = \
@@ -71,7 +73,7 @@ test_headers = \
 test_headers = \
 	test-index.h
 
-test_index_LDADD = $(test_libs)
+test_index_LDADD = $(test_libs) $(LTLIBICONV)
 test_index_DEPENDENCIES = $(test_libs)
 
 check: check-am check-test
diff -r 6e0ea2caf655 -r c90da6423ff3 src/lib-mail/Makefile.am
--- a/src/lib-mail/Makefile.am	Sun May 17 14:27:07 2009 -0400
+++ b/src/lib-mail/Makefile.am	Sun May 17 14:40:34 2009 -0400
@@ -54,13 +54,14 @@ noinst_PROGRAMS = $(test_programs)
 
 test_libs = \
 	libmail.la \
+	../lib-charset/libcharset.la \
 	../lib-test/libtest.la \
 	../lib/liblib.la
 
 test_mail_SOURCES = \
 	test-mail.c
 
-test_mail_LDADD = $(test_libs)
+test_mail_LDADD = $(test_libs) $(LTLIBICONV)
 test_mail_DEPENDENCIES = $(test_libs)
 
 check: check-am check-test


More information about the dovecot-cvs mailing list