summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitry Ilyin <dima@doty.ru>2022-01-15 08:30:26 +0300
committerDmitry Ilyin <dima@doty.ru>2022-01-15 08:30:26 +0300
commit78fa3971be892194aa168c04fc34bf5f2cd99b99 (patch)
tree981c55aed3aec97ea058c57ab6d50cd65f5e21b9 /include
parenta9595ccd7d1d6c02836d2facda0ba10bf4b66a79 (diff)
downloadlibevent-78fa3971be892194aa168c04fc34bf5f2cd99b99.tar.gz
Fix make install failed when Automake used and both OpenSSL and MbedTLS are activated
Issue: https://github.com/libevent/libevent/pull/1241#commitcomment-63865496
Diffstat (limited to 'include')
-rw-r--r--include/include.am7
1 files 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