[Buildroot] [PATCH 1/1] host-mariadb: add host-openssl dependency
thomas.petazzoni at free-electrons.com
Thu Jul 27 15:10:43 UTC 2017
On Thu, 27 Jul 2017 09:35:48 -0400, Adam Duskett wrote:
> On Fedora26, openssl 1.1.x is included by default. This causes build errors
> when building the host variant of mariadb. Adding host-openssl as a dependency
> fixes this issue.
> Signed-off-by: Adam Duskett <aduskett at gmail.com>
I don't think this is the correct fix. Indeed, host-mariadb builds just
fine on a system where the OpenSSL headers/development files are *NOT*
This means that host-mariadb does not require host-openssl, but uses
OpenSSL if available. So the proper solution is to pass some option at
configure time to tell host-mariadb to not attempt to use OpenSSL.
Indeed, we are not really interested in having OpenSSL support in
It apparently needs an SSL implementation, but has a small bundled one
based on yassl. Can you try:
HOST_MARIADB_CONF_OPTS += -DWITH_SSL=bundled
and see if it fixes the problem for you ?
You can try to compare the build time of host-mariadb + host-openssl
vs. host-maria-db + bundled SSL.
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
More information about the buildroot