diff options
author | André Draszik <adraszik@tycoint.com> | 2016-11-09 15:55:11 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-11-23 15:24:43 +0100 |
commit | 334608d5ddb758b2776cd7b98cf7cdbbf6643657 (patch) | |
tree | 8c47d0e3ada8e6b2978fc2d1d7aa5eebb88679e7 /meta-oe | |
parent | e045a66fc9298213833344f210b96772b37432e3 (diff) | |
download | meta-openembedded-334608d5ddb758b2776cd7b98cf7cdbbf6643657.tar.gz |
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@tycoint.com>
Reviewed-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/asio/asio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/asio/asio.inc b/meta-oe/recipes-support/asio/asio.inc index 9cea82491..54f78e41d 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" | |||
6 | SECTION = "libs" | 6 | SECTION = "libs" |
7 | LICENSE = "BSL-1.0" | 7 | LICENSE = "BSL-1.0" |
8 | 8 | ||
9 | DEPENDS = "boost" | 9 | DEPENDS = "boost openssl" |
10 | 10 | ||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2" | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2" |
12 | 12 | ||