changeset 4318:0cb50c985ac6 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 Thu, 08 Jun 2006 20:00:32 +0300
parents 59785a02e715
children 31a28cd0b020
files src/pop3/Makefile.am
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/pop3/Makefile.am	Thu Jun 08 19:59:44 2006 +0300
+++ b/src/pop3/Makefile.am	Thu Jun 08 20:00:32 2006 +0300
@@ -8,6 +8,11 @@
 	-I$(top_srcdir)/src/lib-mail \
 	-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) \
@@ -17,7 +22,8 @@
 	../lib-mail/libmail.a \
 	../lib-dict/libdict.a \
 	../lib-charset/libcharset.a \
-	../lib/liblib.a
+	../lib/liblib.a \
+	$(unused_objects)
 
 pop3_LDADD = \
 	$(libs) \