Skip to contentSkip to conversation

mariadb: Inherit pkgconfig

PATCH New Khem Raj 1 participant 2 messages Jul 29, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 mariadb: Inherit pkgconfig

Fixes
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)

---
 meta-oe/recipes-dbs/mysql/mariadb.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -1
index fa32e6844e..f377c784d5 100644
@@ -30,7 +30,7 @@ S = "${WORKDIR}/mariadb-${PV}"
 
 BINCONFIG_GLOB = "mysql_config"
 
-inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script
+inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script pkgconfig
 
 MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
                     ${PN}-setupdb:${bindir}/mariadb-install-db"
Signature · 1 line
2.37.1
author
#1 lore raw

PATCH 2/2 mariadb: Add packageconfig for lz4 and enable it

---
 meta-oe/recipes-dbs/mysql/mariadb.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-dbs/mysql/mariadb.inc +2 -1
index f377c784d5..c63d5114f6 100644
@@ -60,11 +60,12 @@ FILES:${PN}-setupdb = "${sysconfdir}/init.d/install_db \
                        ${bindir}/mysql-systemd-start \
                        "
 
-PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} openssl"
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} lz4 openssl"
 PACKAGECONFIG:class-native = ""
 PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam"
 PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
 PACKAGECONFIG[krb5] = ", ,krb5"
+PACKAGECONFIG[lz4] = ", ,lz4"
 PACKAGECONFIG[openssl] = "-DWITH_SSL='system',-DWITH_SSL='bundled',openssl"
 
 # MariaDB doesn't link properly with gold
Signature · 1 line
2.37.1