changeset 4214:46f3a7a3eaef HEAD

Link mountpoint.o manually to get mountpoint_get() included into binary, so quota plugin can use it.
author Timo Sirainen <tss@iki.fi>
date Fri, 21 Apr 2006 16:33:00 +0300
parents 096b5a271614
children e7ff0eced559
files src/imap/Makefile.am
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/Makefile.am	Fri Apr 21 14:23:01 2006 +0300
+++ b/src/imap/Makefile.am	Fri Apr 21 16:33:00 2006 +0300
@@ -9,6 +9,11 @@
 	-I$(top_srcdir)/src/lib-imap \
 	-I$(top_srcdir)/src/lib-storage
 
+# get some functions included which only plugins use. liblib should probably
+# be a shared library so this wouldn't be needed..
+unused_objects = \
+	../lib/mountpoint.o
+
 libs = \
 	../lib-storage/register/libstorage-register.a \
 	$(STORAGE_LIBS) \
@@ -18,7 +23,8 @@
 	../lib-mail/libmail.a \
 	../lib-dict/libdict.a \
 	../lib-charset/libcharset.a \
-	../lib/liblib.a
+	../lib/liblib.a \
+	$(unused_objects)
 
 imap_LDADD = \
 	$(libs) \