]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
expire-tool, --without-shared-libs: Link mountpoint.o so quota plugin loading doesn...
authorTimo Sirainen <tss@iki.fi>
Tue, 16 Jun 2009 01:17:02 +0000 (21:17 -0400)
committerTimo Sirainen <tss@iki.fi>
Tue, 16 Jun 2009 01:17:02 +0000 (21:17 -0400)
--HG--
branch : HEAD

src/plugins/expire/Makefile.am

index 3775c3868c6547523d8c17b4823ccade2eea117c..ad7ba8da11c8ac29ed3fc2b8f65f75cf3946d398 100644 (file)
@@ -31,10 +31,16 @@ pkglibexec_PROGRAMS = expire-tool
 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)