summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-11-20 16:36:38 +0800
committerKhem Raj <raj.khem@gmail.com>2019-11-20 06:57:27 -0800
commitb69e4d8b2ea6d2dc72f89f40744ebdc24cb6f323 (patch)
tree41c8181d2c8ba23052da2cf85f1d317e5c41a030 /meta-oe/recipes-dbs
parent95bddd89fefb3c9dc00dccf02107fae175ef17cf (diff)
downloadmeta-openembedded-b69e4d8b2ea6d2dc72f89f40744ebdc24cb6f323.tar.gz
mariadb: replace dependency readline with libedit
Because readline changed its license to GPLv3 from version 6.0, if build mariadb for distribution, it skips readline and turns to libedit. If no libedit available, it uses bundled readline in the source code finally. There is readline 8.0 in oe-core, so remove dependency readline and use libedit instead. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs')
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb.inc1
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb_10.3.18.bb2
2 files changed, 1 insertions, 2 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc
index e1ae58ae7..ec5ac11ef 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -58,7 +58,6 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} setupdb"
58PACKAGECONFIG_class-native = "" 58PACKAGECONFIG_class-native = ""
59PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam" 59PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam"
60PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind" 60PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
61PACKAGECONFIG[libedit] = "-DLIBEDIT_INTERFACE=TRUE,-DLIBEDIT_INTERFACE=FALSE,libedit"
62PACKAGECONFIG[krb5] = ", ,krb5" 61PACKAGECONFIG[krb5] = ", ,krb5"
63PACKAGECONFIG[setupdb] = ", ,,${PN}-setupdb" 62PACKAGECONFIG[setupdb] = ", ,,${PN}-setupdb"
64 63
diff --git a/meta-oe/recipes-dbs/mysql/mariadb_10.3.18.bb b/meta-oe/recipes-dbs/mysql/mariadb_10.3.18.bb
index de24c920f..c0b53379d 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb_10.3.18.bb
+++ b/meta-oe/recipes-dbs/mysql/mariadb_10.3.18.bb
@@ -2,7 +2,7 @@ require mariadb.inc
2 2
3EXTRA_OECMAKE += "-DSTACK_DIRECTION=-1" 3EXTRA_OECMAKE += "-DSTACK_DIRECTION=-1"
4 4
5DEPENDS += "mariadb-native bison-native openssl ncurses zlib readline libaio libevent libxml2" 5DEPENDS += "mariadb-native bison-native openssl ncurses zlib libaio libedit libevent libxml2"
6 6
7PROVIDES += "mysql5 libmysqlclient" 7PROVIDES += "mysql5 libmysqlclient"
8 8