]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-ssl-iostream: Don't build test-iostream-ssl if building without ssl
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 22 Jul 2019 15:35:05 +0000 (18:35 +0300)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 10 Sep 2019 07:02:01 +0000 (10:02 +0300)
Fixes compiling when building without ssl.

src/lib-ssl-iostream/Makefile.am

index ce5203a08089bf39dc3a98ecde732b342ed7bd46..94ead5cec8205705de5d7afe5eea6d0c67b2c003 100644 (file)
@@ -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