dovecot-2.0: dsync: Fixed loading plugins when built --without-s...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jun 4 20:51:09 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/5d2715ae9068
changeset: 11479:5d2715ae9068
user: Timo Sirainen <tss at iki.fi>
date: Fri Jun 04 18:51:05 2010 +0100
description:
dsync: Fixed loading plugins when built --without-shared-libs
diffstat:
src/dsync/Makefile.am | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 24caf08ae7af -r 5d2715ae9068 src/dsync/Makefile.am
--- a/src/dsync/Makefile.am Fri Jun 04 18:26:06 2010 +0100
+++ b/src/dsync/Makefile.am Fri Jun 04 18:51:05 2010 +0100
@@ -10,8 +10,17 @@
-I$(top_srcdir)/src/lib-index \
-I$(top_srcdir)/src/lib-storage
-dsync_LDADD = $(LIBDOVECOT_STORAGE) $(LIBDOVECOT) $(MODULE_LIBS)
-dsync_DEPENDENCIES = $(LIBDOVECOT_STORAGE) $(LIBDOVECOT_DEPS)
+if !BUILD_SHARED_LIBS
+unused_objects = \
+ ../lib/mountpoint.o
+endif
+
+libs = \
+ $(LIBDOVECOT_STORAGE) \
+ $(unused_objects)
+
+dsync_LDADD = $(libs) $(LIBDOVECOT) $(MODULE_LIBS)
+dsync_DEPENDENCIES = $(libs) $(LIBDOVECOT_DEPS)
dsync_SOURCES = \
dsync.c \
dsync-brain.c \
More information about the dovecot-cvs
mailing list