]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
test-* programs weren't linking enough libraries in all systems.
authorTimo Sirainen <tss@iki.fi>
Sun, 17 May 2009 18:40:34 +0000 (14:40 -0400)
committerTimo Sirainen <tss@iki.fi>
Sun, 17 May 2009 18:40:34 +0000 (14:40 -0400)
--HG--
branch : HEAD

src/lib-imap/Makefile.am
src/lib-index/Makefile.am
src/lib-mail/Makefile.am

index 61e1eb8dfcabae6c0d93894fcc88a765c4bb66ea..d40ded34a9090502ff3a385ec1ea53e6a9239be1 100644 (file)
@@ -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
index e453001e762258cd5d347f2f555c69145523b62f..2f97c39730612c935e3cf2c3312b1a76699450c9 100644 (file)
@@ -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
index 3bf92bcc433d30d5d6dcddcf409aec351dd6fd9f..0f2764a5e31646e92c69a821a000b56fe90b7254 100644 (file)
@@ -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