mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-07 13:08:01 +02:00
Add missing options to manual
Freedesktop #66155 (https://bugs.freedesktop.org/show_bug.cgi?id=66155)
This commit is contained in:
parent
50c2867f4a
commit
9f65411341
1 changed files with 18 additions and 2 deletions
20
pkg-config.1
20
pkg-config.1
|
|
@ -9,10 +9,13 @@ pkg-config \- Return metainformation about installed libraries
|
|||
.SH SYNOPSIS
|
||||
.PP
|
||||
.B pkg-config
|
||||
[\-\-modversion] [\-\-version] [\-\-help] [\-\-print-errors]
|
||||
[\-\-modversion] [\-\-version] [\-\-help]
|
||||
[\-\-atleast-pkgconfig-version=VERSION]
|
||||
[\-\-print-errors] [\-\-short-errors]
|
||||
[\-\-silence-errors] [\-\-errors-to-stdout] [\-\-debug]
|
||||
[\-\-cflags] [\-\-libs] [\-\-libs-only-L]
|
||||
[\-\-libs-only-l] [\-\-cflags-only-I]
|
||||
[\-\-libs-only-other] [\-\-cflags-only-other]
|
||||
[\-\-variable=VARIABLENAME]
|
||||
[\-\-define-variable=VARIABLENAME=VARIABLEVALUE]
|
||||
[\-\-print-variables]
|
||||
|
|
@ -71,6 +74,9 @@ Displays the version of
|
|||
.I pkg-config
|
||||
and terminates.
|
||||
.TP
|
||||
.I "--atleast-pkgconfig-version=VERSION"
|
||||
Requires at least the given version of pkg-config.
|
||||
.TP
|
||||
.I "--help"
|
||||
Displays a help message and terminates.
|
||||
.TP
|
||||
|
|
@ -86,6 +92,9 @@ alone (to just print errors encountered locating modules on the
|
|||
command line) or with other options. The PKG_CONFIG_DEBUG_SPEW
|
||||
environment variable overrides this option.
|
||||
.TP
|
||||
.I "--short-errors"
|
||||
Print short error messages.
|
||||
.TP
|
||||
.I "--silence-errors"
|
||||
If one or more of the modules on the command line, or their
|
||||
dependencies, are not found, or if an error occurs in parsing a
|
||||
|
|
@ -119,7 +128,10 @@ line.
|
|||
.I "--cflags-only-I"
|
||||
This prints the -I part of "--cflags". That is, it defines the header
|
||||
search path but doesn't specify anything else.
|
||||
.TP
|
||||
.TP
|
||||
.I "--cflags-only-other"
|
||||
This prints parts of "--cflags" not covered by "--cflags-only-I".
|
||||
.TP
|
||||
.I "--libs"
|
||||
This option is identical to "--cflags", only it prints the link
|
||||
flags. As with "--cflags", duplicate flags are merged (maintaining
|
||||
|
|
@ -136,6 +148,10 @@ the command line. Note that the union of "--libs-only-l" and
|
|||
"--libs-only-L" may be smaller than "--libs", due to flags such as
|
||||
-rdynamic.
|
||||
.TP
|
||||
.I "--libs-only-other"
|
||||
This prints the parts of "--libs" not covered by "--libs-only-L" and
|
||||
"--libs-only-l", such as "--pthread".
|
||||
.TP
|
||||
.I "--variable=VARIABLENAME"
|
||||
This returns the value of a variable defined in a package's \fI.pc\fP
|
||||
file. Most packages define the variable "prefix", for example, so you
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue