From d8ce8742e2b87c9e8fb34d5c5ce565cf3b3a3891 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 12 Dec 2011 17:19:01 +0100 Subject: 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: Peter Korsgaard --- package/libeXosip2/libeXosip2.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/libeXosip2') 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 \ -- cgit v1.2.3