From: Timo Sirainen Date: Mon, 22 Jul 2019 15:35:05 +0000 (+0300) Subject: lib-ssl-iostream: Don't build test-iostream-ssl if building without ssl X-Git-Tag: 2.3.9~364 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e868113bf125d93655005be6f006c2bb26b14ba2;p=thirdparty%2Fdovecot%2Fcore.git lib-ssl-iostream: Don't build test-iostream-ssl if building without ssl Fixes compiling when building without ssl. --- diff --git a/src/lib-ssl-iostream/Makefile.am b/src/lib-ssl-iostream/Makefile.am index ce5203a080..94ead5cec8 100644 --- a/src/lib-ssl-iostream/Makefile.am +++ b/src/lib-ssl-iostream/Makefile.am @@ -38,6 +38,7 @@ headers = \ pkginc_libdir=$(pkgincludedir) pkginc_lib_HEADERS = $(headers) +if BUILD_OPENSSL test_libs = \ $(module_LTLIBRARIES) \ $(noinst_LTLIBRARIES) \ @@ -58,3 +59,4 @@ check-local: for bin in $(test_programs); do \ if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \ done +endif