call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Sun, 17 Sep 2023 03:46:01 +0000 (04:46 +0100)
committerRaspbian forward porter <root@raspbian.org>
Sun, 17 Sep 2023 03:46:01 +0000 (04:46 +0100)
commitfcfa3318e9939b5a9f16bf621c66e72ea2a4da4e
treebed6e55bf3ce360ec9bdea675d8e5f9773aad422
parent4f5a2f734d046a6c45f82955a19b9af7db8f49f9
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