call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Mon, 21 Feb 2022 21:00:28 +0000 (21:00 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 21 Feb 2022 21:00:28 +0000 (21:00 +0000)
commit2a05bde90f83646239f787f918990d7c994171dd
tree5d2832541688c96bc6335669be4093d123e4586c
parent06ee230a97b48ca2d2e5e841c3db8a49019bae12
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