call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Tue, 24 Aug 2021 13:28:22 +0000 (14:28 +0100)
committerRaspbian forward porter <root@raspbian.org>
Tue, 24 Aug 2021 13:28:22 +0000 (14:28 +0100)
commit4e113c9ac0d81905d40f1d9486968ce630d796d5
tree90617e93a344595f5d7e5a93801e99138980d9bc
parent60d1d34cc84aa0338424032786790c6fdb7ab52b
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