Mercurial > dovecot > core-2.2
comparison src/lib-http/Makefile.am @ 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 | cf915db82d15 |
children |
comparison
equal
deleted
inserted
replaced
22740:2b2c4857a52b | 22741:b09a8c92479b |
---|---|
146 ../lib-ssl-iostream/libssl_iostream.la \ | 146 ../lib-ssl-iostream/libssl_iostream.la \ |
147 ../lib-master/libmaster.la \ | 147 ../lib-master/libmaster.la \ |
148 ../lib-settings/libsettings.la \ | 148 ../lib-settings/libsettings.la \ |
149 $(test_deps) | 149 $(test_deps) |
150 | 150 |
151 test_http_libs_ssl= | |
152 if BUILD_OPENSSL | |
153 test_http_libs_ssl += ../lib-ssl-iostream/libssl_iostream_openssl.la | |
154 endif | |
155 | |
151 test_http_payload_SOURCES = test-http-payload.c | 156 test_http_payload_SOURCES = test-http-payload.c |
152 test_http_payload_LDFLAGS = -export-dynamic | 157 test_http_payload_LDFLAGS = -export-dynamic |
153 test_http_payload_LDADD = \ | 158 test_http_payload_LDADD = \ |
154 $(test_http_libs) | 159 $(test_http_libs) |
155 test_http_payload_DEPENDENCIES = \ | 160 test_http_payload_DEPENDENCIES = \ |
157 | 162 |
158 test_http_client_SOURCES = test-http-client.c | 163 test_http_client_SOURCES = test-http-client.c |
159 test_http_client_LDFLAGS = -export-dynamic | 164 test_http_client_LDFLAGS = -export-dynamic |
160 test_http_client_LDADD = \ | 165 test_http_client_LDADD = \ |
161 $(test_http_libs) \ | 166 $(test_http_libs) \ |
162 ../lib-ssl-iostream/libssl_iostream_openssl.la | 167 $(test_http_libs_ssl) |
168 | |
163 test_http_client_DEPENDENCIES = \ | 169 test_http_client_DEPENDENCIES = \ |
164 $(test_http_deps) | 170 $(test_http_deps) |
165 | 171 |
166 test_http_client_errors_SOURCES = test-http-client-errors.c | 172 test_http_client_errors_SOURCES = test-http-client-errors.c |
167 test_http_client_errors_LDFLAGS = -export-dynamic | 173 test_http_client_errors_LDFLAGS = -export-dynamic |