package/mariadb: patch mariadb_config to add sysroot path
authorRyan Coe <bluemrp9@gmail.com>
Thu, 13 Feb 2020 17:46:55 +0000 (09:46 -0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 12 Apr 2020 20:22:31 +0000 (22:22 +0200)
commit905e4f2890e92d7b417d9c219fa8d4394cd1c159
tree3f60b0e57d4e3d1c26eb95e62542ee38a0cb3227
parent858df3643f00fa717057f4868ea68b11fbaa12e1
package/mariadb: patch mariadb_config to add sysroot path

This patch adds @CMAKE_SYSROOT@ to mariadb_config.c.in. Without it,
mariadb_config and mysql_config incorrectly returns host paths for
include paths and library paths.

The patch has been accepted upstream at
https://github.com/mariadb-corporation/mariadb-connector-c/commit/b787c0d69cc00af98cd4ee5bc205e1c7ddaf427a

Reported-by: Alexey Lukyanchuk <skif@skif-web.ru>
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mariadb/0002-add-sysroot-path-to-mariadb_config.patch [new file with mode: 0644]