dovecot-2.0: expire-tool, --without-shared-libs: Link mountpoint...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 16 04:17:07 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/4d46c8517a90
changeset: 9478:4d46c8517a90
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jun 15 21:17:02 2009 -0400
description:
expire-tool, --without-shared-libs: Link mountpoint.o so quota plugin loading doesn't fail.

diffstat:

1 file changed, 7 insertions(+), 1 deletion(-)
src/plugins/expire/Makefile.am |    8 +++++++-

diffs (21 lines):

diff -r 6462ba85d751 -r 4d46c8517a90 src/plugins/expire/Makefile.am
--- a/src/plugins/expire/Makefile.am	Mon Jun 15 21:03:08 2009 -0400
+++ b/src/plugins/expire/Makefile.am	Mon Jun 15 21:17:02 2009 -0400
@@ -31,10 +31,16 @@ expire_tool_SOURCES = \
 expire_tool_SOURCES = \
 	expire-tool.c
 
+if !BUILD_SHARED_LIBS
+unused_objects = \
+	$(top_builddir)/src/lib/mountpoint.o
+endif
+
 libs = \
 	expire-env.o \
 	$(LIBDOVECOT_STORAGE) \
-	$(LIBDOVECOT)
+	$(LIBDOVECOT) \
+	$(unused_objects)
 
 expire_tool_LDADD = $(libs) $(MODULE_LIBS)
 expire_tool_DEPENDENCIES = $(libs)


More information about the dovecot-cvs mailing list