changeset 9302:c90da6423ff3 HEAD

test-* programs weren't linking enough libraries in all systems.
author Timo Sirainen <tss@iki.fi>
date Sun, 17 May 2009 14:40:34 -0400
parents 6e0ea2caf655
children 84f3d92ea9e8
files src/lib-imap/Makefile.am src/lib-index/Makefile.am src/lib-mail/Makefile.am
diffstat 3 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 
 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
--- 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 = \
 	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-index.h
 
-test_index_LDADD = $(test_libs)
+test_index_LDADD = $(test_libs) $(LTLIBICONV)
 test_index_DEPENDENCIES = $(test_libs)
 
 check: check-am check-test
--- 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 @@
 
 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