diff options
author | Arch Librarian <arch@canonical.com> | 2005-07-14 13:04:31 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2005-07-14 13:04:31 +0000 |
commit | 1aa1db96e5c222802d4f785c2a831c8eeb9fdbb9 (patch) | |
tree | 51885d621e156b9ca133a63d3c658a9e2518cdb6 /pkg-config.1 | |
parent | 1aaee14cab6ed427fe6c8610d1eb60e66c861318 (diff) |
2001-10-19 Tor Lillqvist <tml@iki.fi>
Author: tml
Date: 2001-10-18 22:39:22 GMT
2001-10-19 Tor Lillqvist <tml@iki.fi>
* main.c: (Win32): Add option --dont-define-prefix on Windows. The
option prevents pkg-config from automatically defining an
overriding value for the "prefix" variable.
Unless this option is used, set "prefix" to pkg-config's
installation directory, i.e. assume that the packages whose
configuration files are found in the same tree where
pkg-config.exe itself is, also have been configured to use the
same prefix. This means that a typical "developer package"
containg a subtree of headers, libraries, etc, including .pc
files, can be installed in any random location. As long as
pkg-config.exe is installed the same tree, things just should
work.
* pkg-config.1: Document it.
Diffstat (limited to 'pkg-config.1')
-rw-r--r-- | pkg-config.1 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg-config.1 b/pkg-config.1 index 60930e9..7daabd8 100644 --- a/pkg-config.1 +++ b/pkg-config.1 @@ -167,6 +167,15 @@ constraint after each package name, for example: .fi Remember to use \-\-print-errors if you want error messages. +.TP +.I "--dont-define-prefix" +This option is available only on Windows and prevents \fIpkg-config\fP +from automatically setting the variable "prefix" as the same directory +where \fIpkg-config\fP was installed. (This directory is determined by +asking the system where \fIpkg-config.exe\fP is located, and if that +directory is called \fIbin\fP or \fIlib\fP, using its parent +directory, otherwise itself.) + .SH ENVIRONMENT VARIABLES .TP |