From 56c73516a1ee4b8dc9a759d40cd42281e70e3fbd Mon Sep 17 00:00:00 2001
From: Stephan Bosch <stephan@rename-it.nl>
Date: Tue, 18 Sep 2012 20:42:25 +0200
Subject: [PATCH] Fixed compile against installed Dovecot headers. This was
 broken by the ld.gold fix.

---
 src/lib-sieve/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib-sieve/Makefile.am b/src/lib-sieve/Makefile.am
index e3dc25d28..6bb153091 100644
--- a/src/lib-sieve/Makefile.am
+++ b/src/lib-sieve/Makefile.am
@@ -71,7 +71,7 @@ plugins = \
 	$(unfinished_plugins)
 
 libdovecot_sieve_la_DEPENDENCIES = $(plugins) $(LIBDOVECOT_LDA_DEPS)
-libdovecot_sieve_la_LIBADD = $(plugins) $(LIBDOVECOT_LDA)
+libdovecot_sieve_la_LIBADD = $(plugins) $(LIBDOVECOT) $(LIBDOVECOT_LDA)
 
 libdovecot_sieve_la_SOURCES = \
 	rfc2822.c \
-- 
GitLab