call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Wed, 31 Dec 2025 10:28:57 +0000 (13:28 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Wed, 31 Dec 2025 10:28:57 +0000 (13:28 +0300)
commit407ae154a9ab9e338bd9b4dca13f5804a9d6f3de
tree6d9471eca7150a08f62c378db50fcb0d485e56f7
parent2a1e88fee658a6ffde23a6615ee462256e693b6c
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