call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Sun, 7 Aug 2022 13:56:40 +0000 (14:56 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 7 Aug 2022 13:56:40 +0000 (14:56 +0100)
commitb35112c7edcad7715f3bcb1fbb8d8b959f7479ae
tree15f206cc630fd99845a2f81647cb352479b2f6f4
parentf2ea2897bf3e11c8288a8dabaa0f1bc866a77783
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