From 34de49959c6612f519bff07ba5cd1f3ef964bb0c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 6 Oct 2013 13:21:15 +0300 Subject: [PATCH] lib-http: Fixed linking with some compilers Inline functions in http-header.h still required linking http-header.lo with e.g. Sun Studio --- src/lib-http/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.47.3