]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: Fixed linking with some compilers
authorTimo Sirainen <tss@iki.fi>
Sun, 6 Oct 2013 10:21:15 +0000 (13:21 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 6 Oct 2013 10:21:15 +0000 (13:21 +0300)
Inline functions in http-header.h still required linking http-header.lo with
e.g. Sun Studio

src/lib-http/Makefile.am

index f5b2caa216343fd0dd85875fa1170b808cb4e5b1..802a767b7bf5d4e5d3b1428ad792ad11589dc565 100644 (file)
@@ -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)