From 4f2deb95651a6ddc6cf86b48141b3fd8125611e3 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 29 Oct 2009 17:41:37 -0400 Subject: [PATCH] lmtp: Link with all the same unused .o files as lda. --HG-- branch : HEAD --- src/lmtp/Makefile.am | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/lmtp/Makefile.am b/src/lmtp/Makefile.am index ffd45253c9..09e150f9f0 100644 --- a/src/lmtp/Makefile.am +++ b/src/lmtp/Makefile.am @@ -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) -- 2.47.3