call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Fri, 25 Oct 2024 09:40:08 +0000 (12:40 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 25 Oct 2024 09:40:08 +0000 (12:40 +0300)
commitea0abf008e3c7f919f400821e1aad96e61f6a5bd
treed1919d20b553a09de5e05be2630ce7902682e366
parentb0f90623593ec2a360cbc3259f89102f9572a0f3
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