From: Timo Sirainen Date: Sun, 6 Oct 2013 10:21:15 +0000 (+0300) Subject: lib-http: Fixed linking with some compilers X-Git-Tag: 2.2.7~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=34de49959c6612f519bff07ba5cd1f3ef964bb0c;p=thirdparty%2Fdovecot%2Fcore.git lib-http: Fixed linking with some compilers Inline functions in http-header.h still required linking http-header.lo with e.g. Sun Studio --- diff --git a/src/lib-http/Makefile.am b/src/lib-http/Makefile.am index f5b2caa216..802a767b7b 100644 --- a/src/lib-http/Makefile.am +++ b/src/lib-http/Makefile.am @@ -67,7 +67,7 @@ test_deps = \ ../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_LDADD = http-date.lo $(test_libs) 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 @@ test_http_transfer_LDADD = \ http-parser.lo \ http-header-parser.lo \ http-transfer-chunked.lo \ + http-header.lo \ $(test_libs) test_http_transfer_DEPENDENCIES = $(test_deps)