dovecot-2.2: lib: Fixed potential build error when building with...

dovecot at dovecot.org dovecot at dovecot.org
Fri Mar 20 19:59:12 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/1bbde199a6e3
changeset: 18380:1bbde199a6e3
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Mar 20 21:58:16 2015 +0200
description:
lib: Fixed potential build error when building without modules.

diffstat:

 src/lib/module-dir.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r d8f24038d3cb -r 1bbde199a6e3 src/lib/module-dir.c
--- a/src/lib/module-dir.c	Fri Mar 20 21:13:21 2015 +0200
+++ b/src/lib/module-dir.c	Fri Mar 20 21:58:16 2015 +0200
@@ -598,6 +598,10 @@
 
 #else
 
+#ifndef MODULE_SUFFIX
+#  define MODULE_SUFFIX ".so" /* just to avoid build failure */
+#endif
+
 struct module *
 module_dir_load_missing(struct module *old_modules ATTR_UNUSED,
 			const char *dir ATTR_UNUSED,


More information about the dovecot-cvs mailing list