usage: pkgconf [OPTIONS] [LIBRARIES]
basic options:
--help this message
--about print pkgconf version and license to stdout
--version print supported pkg-config version to stdout
--verbose print additional information
--atleast-pkgconfig-version check whether or not pkgconf is compatible
with a specified pkg-config version
--errors-to-stdout print all errors on stdout instead of stderr
--print-errors ensure all errors are printed
--short-errors be less verbose about some errors
--silence-errors explicitly be silent about errors
--list-all list all known packages
--list-package-names list all known package names
--simulate simulate walking the calculated dependency graph
--no-cache do not cache already seen packages when
walking the dependency graph
--log-file=filename write an audit log to a specified file
--with-path=path adds a directory to the search path
--define-prefix override the prefix variable with one that is guessed based on
the location of the .pc file
--dont-define-prefix do not override the prefix variable under any circumstances
--prefix-variable=varname sets the name of the variable that pkgconf considers
to be the package prefix
--dont-relocate-paths disables path relocation support
cross-compilation personality support:
--personality=triplet|filename sets the personality to 'triplet' or a file named 'filename'
--dump-personality dumps details concerning selected personality
checking specific pkg-config database entries:
--atleast-version require a specific version of a module
--exact-version require an exact version of a module
--max-version require a maximum version of a module
--exists check whether or not a module exists
--uninstalled check whether or not an uninstalled module will be used
--no-uninstalled never use uninstalled modules when satisfying dependencies
--no-provides do not use 'provides' rules to resolve dependencies
--maximum-traverse-depth maximum allowed depth for dependency graph (-1 for unlimited)
--static be more aggressive when computing dependency graph
(for static linking)
--shared use a simplified dependency graph (usually default)
--pure optimize a static dependency graph as if it were a normal
dependency graph
--env-only look only for package entries in PKG_CONFIG_PATH
--ignore-conflicts ignore 'conflicts' rules in modules
--validate validate specific .pc files for correctness
querying specific pkg-config database fields:
--define-variable=varname=value define variable 'varname' as 'value'
--variable=varname print specified variable entry to stdout
--cflags print required CFLAGS to stdout
--cflags-only-I print required include-dir CFLAGS to stdout
--cflags-only-other print required non-include-dir CFLAGS to stdout
--libs print required linker flags to stdout
--libs-only-L print required LDPATH linker flags to stdout
--libs-only-l print required LIBNAME linker flags to stdout
--libs-only-other print required other linker flags to stdout
--print-requires print required dependency frameworks to stdout
--print-requires-private print required dependency frameworks for static
linking to stdout
--print-provides print provided dependencies to stdout
--print-variables print all known variables in module to stdout
--digraph print entire dependency graph in graphviz 'dot' format
--print-digraph-query-nodes also print query nodes in 'dot' format
--solution print dependency graph solution in a simple format
--keep-system-cflags keep -I/usr/include entries in cflags output
--keep-system-libs keep -L/usr/lib entries in libs output
--path show the exact filenames for any matching .pc files
--modversion print the specified module's version to stdout
--internal-cflags do not filter 'internal' cflags from output
--license print the specified module's license to stdout if known
--link-abi print the link ABIs (e.g. c, c++) the module must be linked against
--source print the specified module's source code location to stdout if known
--exists-cflags add -DHAVE_FOO fragments to cflags for each found module
filtering output:
--msvc-syntax print translatable fragments in MSVC syntax
--fragment-filter=types filter output fragments to the specified types
--env=prefix print output as shell-compatible environmental variables
--fragment-tree visualize printed CFLAGS/LIBS fragments as a tree
--newlines use newlines for whitespace between fragments
report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
Options (65)
| Option | Description | Source |
|---|---|---|
--help | this message | help |
--about | print pkgconf version and license to stdout | help |
--version | print supported pkg-config version to stdout | help |
--verbose | print additional information | help |
--atleast-pkgconfig-version | check whether or not pkgconf is compatible with a specified pkg-config version | help |
--errors-to-stdout | print all errors on stdout instead of stderr | help |
--print-errors | ensure all errors are printed | help |
--short-errors | be less verbose about some errors | help |
--silence-errors | explicitly be silent about errors | help |
--list-all | list all known packages | help |
--list-package-names | list all known package names | help |
--simulate | simulate walking the calculated dependency graph | help |
--no-cache | do not cache already seen packages when walking the dependency graph | help |
--log-file filename | write an audit log to a specified file | help |
--with-path path | adds a directory to the search path | help |
--define-prefix | override the prefix variable with one that is guessed based on the location of the .pc file | help |
--dont-define-prefix | do not override the prefix variable under any circumstances | help |
--prefix-variable varname | sets the name of the variable that pkgconf considers to be the package prefix | help |
--dont-relocate-paths | disables path relocation support | help |
--personality triplet|filename | sets the personality to 'triplet' or a file named 'filename' | help |
--dump-personality | dumps details concerning selected personality | help |
--atleast-version | require a specific version of a module | help |
--exact-version | require an exact version of a module | help |
--max-version | require a maximum version of a module | help |
--exists | check whether or not a module exists | help |
--uninstalled | check whether or not an uninstalled module will be used | help |
--no-uninstalled | never use uninstalled modules when satisfying dependencies | help |
--no-provides | do not use 'provides' rules to resolve dependencies | help |
--maximum-traverse-depth | maximum allowed depth for dependency graph (-1 for unlimited) | help |
--static | be more aggressive when computing dependency graph (for static linking) | help |
--shared | use a simplified dependency graph (usually default) | help |
--pure | optimize a static dependency graph as if it were a normal dependency graph | help |
--env-only | look only for package entries in PKG_CONFIG_PATH | help |
--ignore-conflicts | ignore 'conflicts' rules in modules | help |
--validate | validate specific .pc files for correctness | help |
--define-variable varname=value | define variable 'varname' as 'value' | help |
--variable varname | print specified variable entry to stdout | help |
--cflags | print required CFLAGS to stdout | help |
--cflags-only-I | print required include-dir CFLAGS to stdout | help |
--cflags-only-other | print required non-include-dir CFLAGS to stdout | help |
--libs | print required linker flags to stdout | help |
--libs-only-L | print required LDPATH linker flags to stdout | help |
--libs-only-l | print required LIBNAME linker flags to stdout | help |
--libs-only-other | print required other linker flags to stdout | help |
--print-requires | print required dependency frameworks to stdout | help |
--print-requires-private | print required dependency frameworks for static linking to stdout | help |
--print-provides | print provided dependencies to stdout | help |
--print-variables | print all known variables in module to stdout | help |
--digraph | print entire dependency graph in graphviz 'dot' format | help |
--print-digraph-query-nodes | also print query nodes in 'dot' format | help |
--solution | print dependency graph solution in a simple format | help |
--keep-system-cflags | keep -I/usr/include entries in cflags output | help |
--keep-system-libs | keep -L/usr/lib entries in libs output | help |
--path | show the exact filenames for any matching .pc files | help |
--modversion | print the specified module's version to stdout | help |
--internal-cflags | do not filter 'internal' cflags from output | help |
--license | print the specified module's license to stdout if known | help |
--link-abi | print the link ABIs (e.g. c, c++) the module must be linked against | help |
--source | print the specified module's source code location to stdout if known | help |
--exists-cflags | add -DHAVE_FOO fragments to cflags for each found module | help |
--msvc-syntax | print translatable fragments in MSVC syntax | help |
--fragment-filter types | filter output fragments to the specified types | help |
--env prefix | print output as shell-compatible environmental variables | help |
--fragment-tree | visualize printed CFLAGS/LIBS fragments as a tree | help |
--newlines | use newlines for whitespace between fragments | help |