From: Dmitry Ilyin Date: Sat, 15 Jan 2022 05:30:26 +0000 (+0300) Subject: Fix make install failed when Automake used and both OpenSSL and MbedTLS are activated X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78fa3971be892194aa168c04fc34bf5f2cd99b99;p=libevent Fix make install failed when Automake used and both OpenSSL and MbedTLS are activated Issue: https://github.com/libevent/libevent/pull/1241#commitcomment-63865496 --- diff --git a/include/include.am b/include/include.am index c37e2b4f..93f32f1a 100644 --- a/include/include.am +++ b/include/include.am @@ -35,9 +35,10 @@ EVENT2_EXPORT = \ if OPENSSL EVENT2_EXPORT += include/event2/bufferevent_ssl.h -endif -if MBEDTLS -EVENT2_EXPORT += include/event2/bufferevent_ssl.h +else + if MBEDTLS + EVENT2_EXPORT += include/event2/bufferevent_ssl.h + endif endif ## Without the nobase_ prefixing, Automake would strip "include/event2/" from