dovecot-2.0: Makefile: Compile fix for systems requiring libiconv.

dovecot at dovecot.org dovecot at dovecot.org
Tue Dec 15 03:23:53 EET 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/394a63985b33
changeset: 10488:394a63985b33
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Dec 14 20:23:46 2009 -0500
description:
Makefile: Compile fix for systems requiring libiconv.

diffstat:

1 file changed, 8 insertions(+), 5 deletions(-)
src/dsync/Makefile.am |   13 ++++++++-----

diffs (35 lines):

diff -r c86764388c69 -r 394a63985b33 src/dsync/Makefile.am
--- a/src/dsync/Makefile.am	Mon Dec 14 18:30:55 2009 -0500
+++ b/src/dsync/Makefile.am	Mon Dec 14 20:23:46 2009 -0500
@@ -49,23 +49,26 @@ test_libs = \
 	../lib-mail/libmail.la \
 	../lib-imap/libimap.la \
 	../lib-charset/libcharset.la \
-	../lib/liblib.la \
+	../lib/liblib.la
+
+test_ldadd = \
+	$(test_libs) \
 	$(LIBICONV)
 
 test_dsync_brain_SOURCES = test-dsync-brain.c test-dsync-worker.c test-dsync-common.c
-test_dsync_brain_LDADD = dsync-data.o dsync-brain.o dsync-worker.o $(test_libs)
+test_dsync_brain_LDADD = dsync-data.o dsync-brain.o dsync-worker.o $(test_ldadd)
 test_dsync_brain_DEPENDENCIES = dsync-data.o dsync-brain.o dsync-worker.o $(test_libs)
 
 test_dsync_brain_msgs_SOURCES = test-dsync-brain-msgs.c test-dsync-worker.c test-dsync-common.c
-test_dsync_brain_msgs_LDADD = dsync-data.o dsync-brain-msgs.o dsync-worker.o $(test_libs)
+test_dsync_brain_msgs_LDADD = dsync-data.o dsync-brain-msgs.o dsync-worker.o $(test_ldadd)
 test_dsync_brain_msgs_DEPENDENCIES = dsync-data.o dsync-brain-msgs.o dsync-worker.o $(test_libs)
 
 test_dsync_proxy_SOURCES = test-dsync-proxy.c test-dsync-common.c
-test_dsync_proxy_LDADD = dsync-proxy.o $(test_libs)
+test_dsync_proxy_LDADD = dsync-proxy.o $(test_ldadd)
 test_dsync_proxy_DEPENDENCIES = dsync-proxy.o $(test_libs)
 
 test_dsync_proxy_server_cmd_SOURCES = test-dsync-proxy-server-cmd.c test-dsync-worker.c test-dsync-common.c
-test_dsync_proxy_server_cmd_LDADD = dsync-worker.o dsync-proxy.o dsync-proxy-server-cmd.o $(test_libs)
+test_dsync_proxy_server_cmd_LDADD = dsync-worker.o dsync-proxy.o dsync-proxy-server-cmd.o $(test_ldadd)
 test_dsync_proxy_server_cmd_DEPENDENCIES = dsync-worker.o dsync-proxy.o dsync-proxy-server-cmd.o $(test_libs)
 
 check: check-am check-test


More information about the dovecot-cvs mailing list