summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-12-12 16:19:01 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-12-12 20:13:58 (GMT)
commitd8ce8742e2b87c9e8fb34d5c5ce565cf3b3a3891 (patch)
treec1cc3033a4c6f2dae4be5584594632e2c63bd72e
parent62c10600ab3a0958c9a141de7f99cfbf55308cd9 (diff)
downloadbuildroot-d8ce8742e2b87c9e8fb34d5c5ce565cf3b3a3891.tar.gz
buildroot-d8ce8742e2b87c9e8fb34d5c5ce565cf3b3a3891.tar.bz2
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 <jacmet@sunsite.dk>
-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 4a00a2b..7c4753d 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 \