All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Havelange <patrick.havelange@essensium.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 05/10] mariadb: use host-openssl from buildroot-system
Date: Fri, 25 Jan 2019 17:04:15 +0100	[thread overview]
Message-ID: <20190125160420.10932-5-patrick.havelange@essensium.com> (raw)
In-Reply-To: <20190125160420.10932-1-patrick.havelange@essensium.com>

From: Peter Seiderer <ps.report@gmx.net>

- change WITH_SSL for host build from bundled to system (and add
  host-openssl dependency) to avoid the following configure failure:

  CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
    Could NOT find GnuTLS (missing: GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR)
    (Required is at least version "3.3.24")
  Call Stack (most recent call first):
    /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake/Modules/FindGnuTLS.cmake:54 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    libmariadb/CMakeLists.txt:298 (FIND_PACKAGE)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Tested-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>

---
Changes v6:
  - none
---
 package/mariadb/mariadb.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk
index e17649209a..e354a9137c 100644
--- a/package/mariadb/mariadb.mk
+++ b/package/mariadb/mariadb.mk
@@ -86,7 +86,8 @@ MARIADB_CONF_OPTS += \
 	-DMYSQL_DATADIR=/var/lib/mysql \
 	-DMYSQL_UNIX_ADDR=$(MYSQL_SOCKET)
 
-HOST_MARIADB_CONF_OPTS += -DWITH_SSL=OFF
+HOST_MARIADB_DEPENDENCIES = host-openssl
+HOST_MARIADB_CONF_OPTS += -DWITH_SSL=system
 
 # Some helpers must be compiled for host in order to crosscompile mariadb for
 # the target. They are then included by import_executables.cmake which is
-- 
2.17.1

  parent reply	other threads:[~2019-01-25 16:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-25 16:04 [Buildroot] [PATCH 01/10] package/libshout: Add support for openssl 1.1.x Patrick Havelange
2019-01-25 16:04 ` [Buildroot] [PATCH 02/10] package/nut: " Patrick Havelange
2019-01-27 21:02   ` Peter Korsgaard
2019-01-27 21:04   ` Peter Korsgaard
2019-01-28 16:47     ` Patrick Havelange
2019-01-25 16:04 ` [Buildroot] [PATCH 03/10] package/vboot-utils: " Patrick Havelange
2019-01-27 21:10   ` Peter Korsgaard
2019-01-25 16:04 ` [Buildroot] [PATCH 04/10] package/pound: Fix build with OpenSSL 1.1.x Patrick Havelange
2019-01-25 16:04 ` Patrick Havelange [this message]
2019-01-25 16:04 ` [Buildroot] [PATCH 06/10] Introduce the variable BR2_TOOLCHAIN_HAS_UCONTEXT Patrick Havelange
2019-01-25 16:04 ` [Buildroot] [PATCH 07/10] package/thrift: bump to 0.12.0, add support for openssl 1.1.x Patrick Havelange
2019-01-25 16:04 ` [Buildroot] [PATCH 08/10] package/rtmpdump: Fix compilation issues with " Patrick Havelange
2019-01-25 16:04 ` [Buildroot] [PATCH 09/10] freeswitch: bump to git master 8f10ae54a18a19fc6ed938e4f662bd218ba54b5e Patrick Havelange
2019-01-25 16:04 ` [Buildroot] [PATCH 10/10] libopenssl: bump version to 1.1.1a Patrick Havelange
2019-01-27 20:43 ` [Buildroot] [PATCH 01/10] package/libshout: Add support for openssl 1.1.x Peter Korsgaard
2019-01-28 16:49   ` Patrick Havelange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190125160420.10932-5-patrick.havelange@essensium.com \
    --to=patrick.havelange@essensium.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.