libmariadb.pc missing for MinGW toolchains

Manuel Schmitz port17@gmx.net
Sat Dec 11 12:27:47 GMT 2021


Pkg-config does not detect installed MariaDB Connector/C for MinGW, e.g.
when building some software that connects to MariaDB or MySQL.

The reason is that the pkg-config files are missing in the registries of
pkg-config. (These files could be part of future
mingw64-*-mariadb-connector-c v2.3.3 packages.)

As a quick fix, the attached "libmariadb.pc" files can be placed in the
following directories:
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/

This will enable auto-detection of the MariaDB C connector by Meson,
CMake etc..

Best regards,

Manuel Schmitz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmariadb.pc-i686-w64-mingw32
Type: application/octet-stream
Size: 254 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20211211/27abaea7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmariadb.pc-x86_64-w64-mingw32
Type: application/octet-stream
Size: 256 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin/attachments/20211211/27abaea7/attachment-0001.obj>


More information about the Cygwin mailing list