call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Thu, 25 May 2023 10:45:05 +0000 (11:45 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 25 May 2023 10:45:05 +0000 (11:45 +0100)
commit67344ffbf55b5abf6e61df9c6a66e92df4acd20f
tree6b6f7a9925f0cf574906620e7a07e9ec7cd2a7a9
parent89c54830b3ef39f257bdb5de8c76266e64b969c6
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