[oe-commits] [meta-openembedded] 40/89: asio: DEPENDS on openssl

git at git.openembedded.org git at git.openembedded.org
Wed Nov 23 14:33:42 UTC 2016


martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 334608d5ddb758b2776cd7b98cf7cdbbf6643657
Author: André Draszik <adraszik at tycoint.com>
AuthorDate: Wed Nov 9 15:55:11 2016 +0000

    asio: DEPENDS on openssl
    
    asio may or may not build examples and tests that
    depend on OpenSSL, alas, it has no way to explicitly
    enable or disable OpenSSL support, which is enabled
    unconditionally whenever openssl/ssl.h can be found.
    
    Due to that we get non-deterministic build behaviour,
    based on whether or not some other package pulled
    OpenSSL into the sysroot before asio's configure is
    running.
    
    Additionally, we can get random compilation failures
    if openssl/ssl.h exists during configure time, but is
    removed from sysroot later, e.g. due to a concurrent
    rebuild of OpenSSL at the same time as building asio.
    
    Having an explicit DEPENDS avoids both these problems.
    We can not use PACKAGECONFIG, because as mentioned
    above there is no way to explicitly disable OpenSSL
    support.
    
    Signed-off-by: André Draszik <adraszik at tycoint.com>
    Reviewed-by: Sylvain Lemieux <slemieux at tycoint.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/asio/asio.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/asio/asio.inc b/meta-oe/recipes-support/asio/asio.inc
index 9cea824..54f78e4 100644
--- a/meta-oe/recipes-support/asio/asio.inc
+++ b/meta-oe/recipes-support/asio/asio.inc
@@ -6,7 +6,7 @@ HOMEPAGE = "http://think-async.com/Asio"
 SECTION = "libs"
 LICENSE = "BSL-1.0"
 
-DEPENDS = "boost"
+DEPENDS = "boost openssl"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list