| Bug #76131 | Add support for pkg-config | ||
|---|---|---|---|
| Submitted: | 3 Mar 2015 14:25 | Modified: | 31 Aug 2015 18:12 |
| Reporter: | Terje Røsten | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S4 (Feature request) |
| Version: | 5.7.6 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[3 Mar 2015 14:25]
Terje Røsten
[31 Aug 2015 18:12]
Paul DuBois
Noted in 5.7.9, 5.8.0 changelogs.
MySQL distributions now contain a mysqlclient.pc file that provides
information about MySQL configuration for use by the pkg-config
command. This enables pkg-config to be used as an alternative to
mysql_config for obtaining information such as compiler flags or link
libraries required to compile MySQL applications.
A new INSTALL_PKGCONFIGDIR CMake option is available to specify the
directory in which to install the mysqlclient.pc file. The default
value is INSTALL_LIBDIR/pkgconfig, unless INSTALL_LIBDIR ends with
/mysql, in which case that is removed first.
[1 Sep 2015 14:39]
Paul DuBois
For more information: http://dev.mysql.com/doc/refman/5.7/en/c-api-building-clients-pkg-config.html
