Mercurial > dovecot > core-2.2
changeset 22741:b09a8c92479b
lib-http: Only depend on iostream openssl lib if building with openssl
Fixes build without openssl
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Thu, 28 Dec 2017 10:47:28 +0200 |
parents | 2b2c4857a52b |
children | c02917345173 |
files | src/lib-http/Makefile.am |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-http/Makefile.am Mon Dec 25 18:24:35 2017 +0200 +++ b/src/lib-http/Makefile.am Thu Dec 28 10:47:28 2017 +0200 @@ -148,6 +148,11 @@ ../lib-settings/libsettings.la \ $(test_deps) +test_http_libs_ssl= +if BUILD_OPENSSL +test_http_libs_ssl += ../lib-ssl-iostream/libssl_iostream_openssl.la +endif + test_http_payload_SOURCES = test-http-payload.c test_http_payload_LDFLAGS = -export-dynamic test_http_payload_LDADD = \ @@ -159,7 +164,8 @@ test_http_client_LDFLAGS = -export-dynamic test_http_client_LDADD = \ $(test_http_libs) \ - ../lib-ssl-iostream/libssl_iostream_openssl.la + $(test_http_libs_ssl) + test_http_client_DEPENDENCIES = \ $(test_http_deps)