dovecot-2.2: Cleanup for libcharset's iconv linking.

dovecot at dovecot.org dovecot at dovecot.org
Sun Mar 22 17:00:49 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/36ca0e03bd06
changeset: 18381:36ca0e03bd06
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Mar 22 18:59:51 2015 +0200
description:
Cleanup for libcharset's iconv linking.
Linking libcharset.la now automatically links with the necessary iconv
libraries.

diffstat:

 src/lib-charset/Makefile.am |  1 +
 src/lib-dovecot/Makefile.am |  3 +--
 src/lib-mail/Makefile.am    |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 1bbde199a6e3 -r 36ca0e03bd06 src/lib-charset/Makefile.am
--- a/src/lib-charset/Makefile.am	Fri Mar 20 21:58:16 2015 +0200
+++ b/src/lib-charset/Makefile.am	Sun Mar 22 18:59:51 2015 +0200
@@ -3,6 +3,7 @@
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/lib
 
+libcharset_la_LIBADD = $(LTLIBICONV)
 libcharset_la_SOURCES = \
 	charset-iconv.c \
 	charset-utf8.c
diff -r 1bbde199a6e3 -r 36ca0e03bd06 src/lib-dovecot/Makefile.am
--- a/src/lib-dovecot/Makefile.am	Fri Mar 20 21:58:16 2015 +0200
+++ b/src/lib-dovecot/Makefile.am	Sun Mar 22 18:59:51 2015 +0200
@@ -22,8 +22,7 @@
 
 libdovecot_la_LIBADD = \
 	$(libs) \
-	$(MODULE_LIBS) \
-	$(LTLIBICONV)
+	$(MODULE_LIBS)
 
 libdovecot_la_DEPENDENCIES = $(libs)
 libdovecot_la_LDFLAGS = -export-dynamic
diff -r 1bbde199a6e3 -r 36ca0e03bd06 src/lib-mail/Makefile.am
--- a/src/lib-mail/Makefile.am	Fri Mar 20 21:58:16 2015 +0200
+++ b/src/lib-mail/Makefile.am	Sun Mar 22 18:59:51 2015 +0200
@@ -142,7 +142,7 @@
 test_message_date_DEPENDENCIES = $(test_deps)
 
 test_message_decoder_SOURCES = test-message-decoder.c
-test_message_decoder_LDADD = message-decoder.lo quoted-printable.lo rfc822-parser.lo rfc2231-parser.lo ../lib-charset/libcharset.la $(test_libs) $(LIBICONV)
+test_message_decoder_LDADD = message-decoder.lo quoted-printable.lo rfc822-parser.lo rfc2231-parser.lo ../lib-charset/libcharset.la $(test_libs)
 test_message_decoder_DEPENDENCIES = ../lib-charset/libcharset.la $(test_deps)
 
 test_message_header_decode_SOURCES = test-message-header-decode.c


More information about the dovecot-cvs mailing list