Commit d8ce8742 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

libeXosip2: fix openssl handling



Build libeXosip2 after openssl if enabled, and explicitly disable support
for it otherwise, so configure doesn't end up looking for it on host.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 62c10600
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 \