aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mysql
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-09-24 17:23:53 -0300
committerMartin Jansa <Martin.Jansa@gmail.com>2015-10-13 12:28:13 +0200
commitb798bdbe699f9253a65291b52a628d6a4a3ccfdf (patch)
tree49a8d1c77165103a6102cfb61e458ae0126da443 /meta-oe/recipes-support/mysql
parent9461b4ca6d09f6e4296394d01a61aca823820e7a (diff)
downloadmeta-openembedded-contrib-b798bdbe699f9253a65291b52a628d6a4a3ccfdf.tar.gz
mariadb: Easy linkage of code using libmysqlclient_r
The libmysqlclient_r library is now a symbolic link for the libmysqlclient one, however some code still requires it for linking. To easy the transition, when installing the libmysqlclient-dev we should include the libmysqlclient-r-dev as well. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/mysql')
-rw-r--r--meta-oe/recipes-support/mysql/mariadb.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mysql/mariadb.inc b/meta-oe/recipes-support/mysql/mariadb.inc
index cf004ad3a6..47a16a1f76 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -169,6 +169,9 @@ RDEPENDS_${PN}-leftovers = "perl perl-module-cwd perl-module-benchmark perl-modu
perl-module-constant perl-module-lib perl-module-file-temp perl-module-file-spec-functions \
perl-module-io-socket-inet perl-module-io-select"
+# Allow old code to link to the backward compatible library
+RDEPENDS_libmysqlclient-dev = "libmysqlclient-r-dev"
+
FILES_libmysqlclient = "\
${libdir}/libmysqlclient.so.* \
${sysconfdir}/my.cnf.d/client.cnf"