diff options
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index c63d5114f6..7bd4ac0ba3 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc | |||
| @@ -224,6 +224,17 @@ RDEPENDS:${PN}-setupdb = "coreutils" | |||
| 224 | # Allow old code to link to the backward compatible library | 224 | # Allow old code to link to the backward compatible library |
| 225 | RDEPENDS:libmysqlclient-dev = "libmysqlclient-r-dev" | 225 | RDEPENDS:libmysqlclient-dev = "libmysqlclient-r-dev" |
| 226 | 226 | ||
| 227 | PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess" | ||
| 228 | src_package_preprocess () { | ||
| 229 | # Trim build paths from comments in generated sources to ensure reproducibility | ||
| 230 | sed -i -e "s,${S}/sql/,,g" \ | ||
| 231 | -e "s,${B}/sql/,,g" \ | ||
| 232 | ${B}/sql/yy_oracle.hh \ | ||
| 233 | ${B}/sql/yy_mariadb.cc \ | ||
| 234 | ${B}/sql/yy_mariadb.hh \ | ||
| 235 | ${B}/sql/yy_oracle.cc | ||
| 236 | } | ||
| 237 | |||
| 227 | FILES:libmysqlclient = "\ | 238 | FILES:libmysqlclient = "\ |
| 228 | ${libdir}/libmysqlclient.so.* \ | 239 | ${libdir}/libmysqlclient.so.* \ |
| 229 | ${libdir}/libmariadb.so.* \ | 240 | ${libdir}/libmariadb.so.* \ |
