Fixes build without openssl
../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 = \
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)