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

Attachment: libmariadb.pc-i686-w64-mingw32
Description: Binary data

Attachment: libmariadb.pc-x86_64-w64-mingw32
Description: Binary data

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to