summaryrefslogtreecommitdiffstats
path: root/package/libeXosip2/libeXosip2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libeXosip2/libeXosip2.mk')
-rw-r--r--package/libeXosip2/libeXosip2.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libeXosip2/libeXosip2.mk b/package/libeXosip2/libeXosip2.mk
index 4a00a2b2f..7c4753df3 100644
--- a/package/libeXosip2/libeXosip2.mk
+++ b/package/libeXosip2/libeXosip2.mk
@@ -11,6 +11,13 @@ LIBEXOSIP2_INSTALL_STAGING = YES
LIBEXOSIP2_DEPENDENCIES = host-pkg-config libosip2
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+LIBEXOSIP2_DEPENDENCIES += openssl
+LIBEXOSIP2_CONF_OPT += --enable-openssl
+else
+LIBEXOSIP2_CONF_OPT += --disable-openssl
+endif
+
ifneq ($(LIBEXOSIP2_PATCH),)
define LIBEXOSIP2_DEBIAN_PATCHES
if [ -d $(@D)/debian/patches ]; then \