All apps/pkg-config

pkg-config

pkg-config

Return metainformation about installed libraries.

Runs as pkg-config|macOS, Linux, Windows|www.freedesktop.org

Autocomplete

Fig spec, with what the manifest adds · 34 options
Published once and never changed; check the digest before caching
sha256
4e995427acee3343af59ca514dfb73944461034b910fe2eabee46808b29a3de8
Size
5921 bytes
OptionsOn pkg-config itself
--mod-version
Display the version information of the libraries specified on the command line
--version
Display the version of pkg-config and terminates
--atleast-pkgconfig-version
Require at least the given version of pkg-config <version>
--help
Displays a help message and terminates
--print-errors
Print errors if modules cannot be found or if an error occurs in parsing a .pc file
--short-errors
Print short error messages
--silence-errors
Print errors if modules cannot be found or if an error occurs in parsing a .pc file
--errors-to-stdout
If printing errors, print them to stdout rather than the default stderr
--debug
Print debugging information
--cflags
Print pre-processor and compile flags required to compile the packages on the command line
--cflags-only-I
Print parts of "--cflags" that define the header search path
--cflags-only-other
Print parts of "--cflags" not covered by "--cflags-only-I"
--libs
Print link flags required to compile the packages on the command line
--libs-only-L
Print parts of "-libs" that define library search path
--libs-only-l
Print parts of "-libs" that specify which libraries to link to
--libs-only-other
Print parts of "-libs" not covered by "--libs-only-L" and "--libs-only-l"
--variable
Return the value of a variable defined in a package's .pc file <variable-name>
--define-variable
Set a global value for a variable, overriding the value in any .pc files <variable>
--print-variables
Return a list of all variables defined in the package
--uninstalled
Return successfully if any "-uninstalled" packages are being used, and return failure otherwise
--exists
Test whether the packages on the command line exist
--atleast-version
Test whether the packages on the command line exist and are at least the specified version <version>
--exact-version
Test whether the packages on the command line exist and are exactly the specified version <version>
--max-version
Test whether the packages on the command line exist and are at most the specified version <version>
--validate
Check the syntax of a package's .pc file for validity
--msvc-syntax
Output -l and -L flags in the form recognized by the Microsoft Visual C++ command-line compiler
--define-prefix
Use the installed location of the .pc file to determine the prefix
--dont-define-prefix
Use the specified prefix variable value defined in the .pc file as the prefix
--prefix-variable
Set the name of the variable to be overridden instead of prefix when using --define-prefix <variable-name>
--static
Output libraries suitable for static linking
--list-all
List all modules found in the pkg-config path
--print-provides
List all modules the given packages provides
--print-requires
List all modules the given packages requires
--print-requires-private
List all modules the given packages requires for static linking
ArgumentsPositional, in order
<libraries...>
· repeatable