call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Thu, 24 Nov 2022 17:38:09 +0000 (17:38 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 24 Nov 2022 17:38:09 +0000 (17:38 +0000)
commitec63fc78f6b165d3659d913e39e7e91aec7ca8e8
treeaf2821e69f672c21f807ef5bb4fe96b6bf4c16f2
parentd85b1923a7d4db3ed27ec5210165ac81697cc586
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