From 78fa3971be892194aa168c04fc34bf5f2cd99b99 Mon Sep 17 00:00:00 2001 From: Dmitry Ilyin Date: Sat, 15 Jan 2022 08:30:26 +0300 Subject: [PATCH] Fix make install failed when Automake used and both OpenSSL and MbedTLS are activated Issue: https://github.com/libevent/libevent/pull/1241#commitcomment-63865496 --- include/include.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.40.0