man leakbug-config (Commandes) - Get information about a libleakbug installation
NAME
leakbug-config - Get information about a libleakbug installation
SYNOPSIS
leakbug-config [options]
DESCRIPTION
leakbug-config displays information about a previous libleakbug installation.
OPTIONS
- --help
- Displays the available options.
- --version
- Outputs version information about the installed libleakbug.
- --cflags
- What set of CFLAGS that was used when libleakbug was built. This is mostly a debug option that serves no particular use to most people.
- --libs
- Shows the complete set of libs and other linker options you will need in order to link your application with libleakbug.
- --prefix[=DIR]
- If specified, use DIR instead of the installation prefix that libleakbug was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified.
- --exec-prefix[=DIR]
- If specified, use DIR instead of the installation exec prefix that libleakbug was built with when computing the output for the --cflags and --libs options.
EXAMPLES
What is the path to the libleakbug header files?
echo `leakbug-config --prefix`/include
What is the path to libleakbug?
echo `leakbug-config --prefix`/lib
What other linker options do I need when I link with libleakbug?
leakbug-config --libs
What's the installed libleakbug version?
leakbug-config --version