mariadb/support-files/mariadb.pc.in
Daniel Black 6974058121 mariadb.pc: plugindir is used
As evidenced by converstation on Zulip,
knowing where to install a plugin is important too.
2021-03-18 14:35:55 +11:00

24 lines
893 B
PkgConfig

# 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@
# its common to want to know where to install it.
plugindir=${prefix}/@INSTALL_PLUGINDIR@
# Below are rarely present or not at all, but we export them regardless
bindir=${prefix}/@INSTALL_BINDIR@
sbindir=${prefix}/@INSTALL_SBINDIR@
scriptdir=${prefix}/@INSTALL_SCRIPTDIR@
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} @CFLAGS_FOR_CLIENTS@