]> granicus.if.org Git - libevent/commitdiff
Fix make install failed when Automake used and both OpenSSL and MbedTLS are activated
authorDmitry Ilyin <dima@doty.ru>
Sat, 15 Jan 2022 05:30:26 +0000 (08:30 +0300)
committerDmitry Ilyin <dima@doty.ru>
Sat, 15 Jan 2022 05:30:26 +0000 (08:30 +0300)
Issue:
https://github.com/libevent/libevent/pull/1241#commitcomment-63865496

include/include.am

index c37e2b4f7c2f00464fcf696c49053ba220cfc701..93f32f1ab8f4e599964d738669bf0c3315721ec8 100644 (file)
@@ -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