mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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>
This commit is contained in:
@@ -58,7 +58,6 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} setupdb"
|
||||
PACKAGECONFIG_class-native = ""
|
||||
PACKAGECONFIG[pam] = ",-DWITHOUT_AUTH_PAM=TRUE,libpam"
|
||||
PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
|
||||
PACKAGECONFIG[libedit] = "-DLIBEDIT_INTERFACE=TRUE,-DLIBEDIT_INTERFACE=FALSE,libedit"
|
||||
PACKAGECONFIG[krb5] = ", ,krb5"
|
||||
PACKAGECONFIG[setupdb] = ", ,,${PN}-setupdb"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ require mariadb.inc
|
||||
|
||||
EXTRA_OECMAKE += "-DSTACK_DIRECTION=-1"
|
||||
|
||||
DEPENDS += "mariadb-native bison-native openssl ncurses zlib readline libaio libevent libxml2"
|
||||
DEPENDS += "mariadb-native bison-native openssl ncurses zlib libaio libedit libevent libxml2"
|
||||
|
||||
PROVIDES += "mysql5 libmysqlclient"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user