mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
c840f78350
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>
(cherry picked from commit 334608d5dd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
16 lines
472 B
PHP
16 lines
472 B
PHP
DESCRIPTION = "Asio is a cross-platform C++ library for network and low-level \
|
|
I/O programming that provides developers with a consistent asynchronous \
|
|
model using a modern C++ approach."
|
|
AUTHOR = "Christopher M. Kohlhoff (chris at kohlhoff dot com)"
|
|
HOMEPAGE = "http://think-async.com/Asio"
|
|
SECTION = "libs"
|
|
LICENSE = "BSL-1.0"
|
|
|
|
DEPENDS = "boost openssl"
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2"
|
|
|
|
inherit autotools
|
|
|
|
ALLOW_EMPTY_${PN} = "1"
|