[03/15] libevent: support libressl

Message ID 20170714181537.17479-3-aduskett@gmail.com
State Superseded, archived
Headers show

Commit Message

Adam Duskett July 14, 2017, 6:15 p.m.
Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
 package/libevent/libevent.mk | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk
index 36bca0b21..910f24d4b 100644
--- a/package/libevent/libevent.mk
+++ b/package/libevent/libevent.mk
@@ -26,6 +26,9 @@  endif
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 LIBEVENT_DEPENDENCIES += host-pkgconf openssl
 LIBEVENT_CONF_OPTS += --enable-openssl
+else ifeq ($(BR2_PACKAGE_LIBRESSL),y)
+LIBEVENT_DEPENDENCIES += host-pkgconf libressl
+LIBEVENT_CONF_OPTS += --enable-openssl
 else
 LIBEVENT_CONF_OPTS += --disable-openssl
 endif