From: Timo Sirainen Date: Sun, 17 May 2009 18:40:34 +0000 (-0400) Subject: test-* programs weren't linking enough libraries in all systems. X-Git-Tag: 2.0.alpha1~750 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4d1fe7537ecacd51c334d1005b36d9e8cedf79bd;p=thirdparty%2Fdovecot%2Fcore.git test-* programs weren't linking enough libraries in all systems. --HG-- branch : HEAD --- diff --git a/src/lib-imap/Makefile.am b/src/lib-imap/Makefile.am index 61e1eb8dfc..d40ded34a9 100644 --- a/src/lib-imap/Makefile.am +++ b/src/lib-imap/Makefile.am @@ -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 --git a/src/lib-index/Makefile.am b/src/lib-index/Makefile.am index e453001e76..2f97c39730 100644 --- a/src/lib-index/Makefile.am +++ b/src/lib-index/Makefile.am @@ -61,7 +61,9 @@ noinst_PROGRAMS = $(test_programs) 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_index_SOURCES = \ 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 --git a/src/lib-mail/Makefile.am b/src/lib-mail/Makefile.am index 3bf92bcc43..0f2764a5e3 100644 --- a/src/lib-mail/Makefile.am +++ b/src/lib-mail/Makefile.am @@ -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