package/mariadb: needs pcre2

Upstream added the possibility to build with system-provided pcre2 back
in 2014:
    016bd4fc5f

The policy in Buildroot is to use system-provided libraries rather than
bundled ones, but we missed that opportunity when we introduced mariadb
back in 2016, with commit 2cd86cdbfc (mariadb: new package).

Fix that now.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Bernd Kuhls 2023-07-21 23:25:45 +02:00 committed by Yann E. MORIN
parent 821f9dee81
commit 15cc8d1e45
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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