dovecot-2.0-sslstream: lmtp: Link with all the same unused .o fi...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:55:54 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/410b72cf8567
changeset: 10232:410b72cf8567
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 29 17:41:37 2009 -0400
description:
lmtp: Link with all the same unused .o files as lda.

diffstat:

1 file changed, 9 insertions(+), 1 deletion(-)
src/lmtp/Makefile.am |   10 +++++++++-

diffs (22 lines):

diff -r 704b1fd3c92f -r 410b72cf8567 src/lmtp/Makefile.am
--- a/src/lmtp/Makefile.am	Thu Oct 29 17:40:52 2009 -0400
+++ b/src/lmtp/Makefile.am	Thu Oct 29 17:41:37 2009 -0400
@@ -17,9 +17,17 @@ AM_CPPFLAGS = \
 
 lmtp_LDFLAGS = -export-dynamic
 
+if !BUILD_SHARED_LIBS
+unused_objects = \
+	../lib/mountpoint.o \
+	../lib-mail/message-header-encode.o \
+	../lib-imap/imap-util.o
+endif
+
 libs = \
 	../lib-lda/liblda.a \
-	$(LIBDOVECOT_STORAGE)
+	$(LIBDOVECOT_STORAGE) \
+	$(unused_objects)
 
 lmtp_LDADD = $(libs) $(LIBDOVECOT) $(MODULE_LIBS)
 lmtp_DEPENDENCIES = $(libs) $(LIBDOVECOT_DEPS)


More information about the dovecot-cvs mailing list