diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-10-08 09:40:39 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-11 18:53:06 +0200 |
commit | 5ca5f92a1d6f4af0b407bc22e89b8ed78be09bc9 (patch) | |
tree | 73692c93a2cacfdac1e4f3cac0b491b8ed4fdbce /support-files/mariadb.pc.in | |
parent | 7f5e51b940d65cf541403a50af74163b9aed5cb8 (diff) | |
download | mariadb-git-5ca5f92a1d6f4af0b407bc22e89b8ed78be09bc9.tar.gz |
MDEV-5749 Please add a .pc file to MariaDB for easy use via pkg-config
Diffstat (limited to 'support-files/mariadb.pc.in')
-rw-r--r-- | support-files/mariadb.pc.in | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/support-files/mariadb.pc.in b/support-files/mariadb.pc.in new file mode 100644 index 00000000000..bc84a5c5c4c --- /dev/null +++ b/support-files/mariadb.pc.in @@ -0,0 +1,23 @@ +# these four variables are present in almost every .pc file +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +libdir=${prefix}/@INSTALL_LIBDIR@ +includedir=${prefix}/@INSTALL_INCLUDEDIR@ +# those are rarely present or not at all, but we export them regardless +bindir=${prefix}/@INSTALL_BINDIR@ +sbindir=${prefix}/@INSTALL_SBINDIR@ +scriptdir=${prefix}/@INSTALL_SCRIPTDIR@ +plugindir=${prefix}/@INSTALL_PLUGINDIR@ +docdir=${prefix}/@INSTALL_DOCDIR@ +mandir=${prefix}/@INSTALL_MANDIR@ +sharedir=${prefix}/@INSTALL_SHAREDIR@ +mysqlsharedir=${prefix}/@INSTALL_MYSQLSHAREDIR@ +mysqltestdir=${prefix}/@INSTALL_MYSQLTESTDIR@ +socket=@INSTALL_UNIX_ADDRDIR@ + +Name: @CPACK_PACKAGE_NAME@ +Description: @CPACK_PACKAGE_DESCRIPTION_SUMMARY@ +URL: @CPACK_PACKAGE_URL@ +Version: @VERSION@ +Libs: -L${libdir} @LIBS_FOR_CLIENTS@ +Cflags: -I${includedir} -I${includedir}/.. @CFLAGS_FOR_CLIENTS@ |