[Buildroot] [PATCH v2 2/2] package/mariadb: needs pcre2
Bernd Kuhls
bernd at kuhls.net
Fri Jul 21 21:25:45 UTC 2023
Upstream added the possibility to build with system-provided pcre2
https://github.com/MariaDB/server/commit/016bd4fc5fff311dc4091b3b7329cd980dbaa14b
Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
---
v2: no changes
package/mariadb/mariadb.mk | 4 +++-
package/mysql/Config.in | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk
index a9cd9c9516..a2701643e1 100644
--- a/package/mariadb/mariadb.mk
+++ b/package/mariadb/mariadb.mk
@@ -21,12 +21,14 @@ MARIADB_DEPENDENCIES = \
fmt \
ncurses \
openssl \
+ pcre2 \
zlib \
libaio \
libxml2
MARIADB_CONF_OPTS += \
- -DWITH_FMT=system
+ -DWITH_FMT=system \
+ -DWITH_PCRE=system
# use bundled GPL-2.0+ licensed readline as package/readline is GPL-3.0+
MARIADB_CONF_OPTS += -DWITH_READLINE=ON
diff --git a/package/mysql/Config.in b/package/mysql/Config.in
index 8212d0fd3f..8942e55a45 100644
--- a/package/mysql/Config.in
+++ b/package/mysql/Config.in
@@ -25,6 +25,7 @@ config BR2_PACKAGE_MARIADB
select BR2_PACKAGE_FMT
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_PCRE2
select BR2_PACKAGE_HAS_MYSQL
help
MariaDB is one of the most popular database servers in the
--
2.39.2
More information about the buildroot
mailing list