dovecot: Load plugins from $moduledir/dict/.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 6 23:49:38 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/6793d8d934a8
changeset: 6191:6793d8d934a8
user: Timo Sirainen <tss at iki.fi>
date: Mon Aug 06 23:49:35 2007 +0300
description:
Load plugins from $moduledir/dict/.
diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
src/dict/Makefile.am | 1 +
src/dict/main.c | 3 +--
diffs (24 lines):
diff -r 141c3abcac56 -r 6793d8d934a8 src/dict/Makefile.am
--- a/src/dict/Makefile.am Mon Aug 06 23:47:37 2007 +0300
+++ b/src/dict/Makefile.am Mon Aug 06 23:49:35 2007 +0300
@@ -6,6 +6,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-dict \
-I$(top_srcdir)/src/lib-sql \
+ -DDICT_MODULE_DIR=\""$(moduledir)/dict"\" \
-DPKG_RUNDIR=\""$(rundir)"\"
dict_LDFLAGS = -export-dynamic
diff -r 141c3abcac56 -r 6793d8d934a8 src/dict/main.c
--- a/src/dict/main.c Mon Aug 06 23:47:37 2007 +0300
+++ b/src/dict/main.c Mon Aug 06 23:49:35 2007 +0300
@@ -77,8 +77,7 @@ static void main_init(void)
dict_drivers_register_all();
- modules = getenv("MODULE_DIR") == NULL ? NULL :
- module_dir_load(getenv("MODULE_DIR"), NULL, TRUE, version);
+ modules = module_dir_load(DICT_MODULE_DIR, NULL, TRUE, version);
module_dir_init(modules);
path = getenv("DICT_LISTEN_FROM_FD");
More information about the dovecot-cvs
mailing list