call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Thu, 12 Jan 2023 11:43:32 +0000 (11:43 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 12 Jan 2023 11:43:32 +0000 (11:43 +0000)
commit7faa82b7cc9127680b1578fcff426c9a3606ed3c
treedbdcf2814a1a765b5c9373172e07e1a3b47e9215
parent59aadce745ad8b9717c3bee35f93b10b0e02bc1c
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