call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Sat, 13 May 2023 11:12:14 +0000 (12:12 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 13 May 2023 11:12:14 +0000 (12:12 +0100)
commiteecf28072c15da0f78b1154e41d8a3d3ccf63a16
treec31e888eafba1e5953619bfe9fd96fb2f60d7dc6
parented5d66c5a60b9abdbe7756b35ac46e8cfadbbd76
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json