call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)
commitb330aa4462635c0ab2ce52f7da1502d66d2de680
tree331779bc3daeb91add95e7a2e1629f4fc61d909a
parent45a8088e471cc8f11becb0870190e50e51100e78
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