dovecot-2.2: lib-http: Fixed linking with some compilers

dovecot at dovecot.org dovecot at dovecot.org
Sun Oct 6 13:21:26 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/4e44453887b6
changeset: 16836:4e44453887b6
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Oct 06 13:21:15 2013 +0300
description:
lib-http: Fixed linking with some compilers
Inline functions in http-header.h still required linking http-header.lo with
e.g. Sun Studio

diffstat:

 src/lib-http/Makefile.am |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 5672c40cf421 -r 4e44453887b6 src/lib-http/Makefile.am
--- a/src/lib-http/Makefile.am	Sat Oct 05 13:29:26 2013 +0300
+++ b/src/lib-http/Makefile.am	Sun Oct 06 13:21:15 2013 +0300
@@ -67,7 +67,7 @@
 	../lib/liblib.la
 
 test_http_url_SOURCES = test-http-url.c
-test_http_url_LDADD = http-url.lo  $(test_libs)
+test_http_url_LDADD = http-url.lo http-header.lo $(test_libs)
 test_http_url_DEPENDENCIES = $(test_deps)
 
 test_http_date_SOURCES = test-http-date.c
@@ -75,7 +75,7 @@
 test_http_date_DEPENDENCIES = $(test_deps)
 
 test_http_header_parser_SOURCES = test-http-header-parser.c
-test_http_header_parser_LDADD = http-parser.lo http-header-parser.lo $(test_libs)
+test_http_header_parser_LDADD = http-parser.lo http-header-parser.lo http-header.lo $(test_libs)
 test_http_header_parser_DEPENDENCIES = $(test_deps)
 
 test_http_transfer_SOURCES = test-http-transfer.c
@@ -83,6 +83,7 @@
 	http-parser.lo \
 	http-header-parser.lo \
 	http-transfer-chunked.lo \
+	http-header.lo \
 	$(test_libs)
 test_http_transfer_DEPENDENCIES = $(test_deps)
 


More information about the dovecot-cvs mailing list