call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Fri, 13 Jan 2023 07:41:54 +0000 (07:41 +0000)
committerDmitry Shachnev <mitya57@debian.org>
Fri, 13 Jan 2023 07:41:54 +0000 (07:41 +0000)
commit8dfc78454f5e5b2e923e2201ec3e339abf1db8db
tree4c88efded471cdd0695839a1bc77ca2746f9a254
parent70255fc5002c36696499a89367eec709cd2b3247
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