diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-03-14 08:35:09 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-03-14 08:35:09 +0000 |
commit | 008a8c94189be28730f7565008e524c705a65046 (patch) | |
tree | d9e1ab84fefb7ef80b418ba455b9c39efd32ffc5 /usr.bin/pkg-config/pkg-config.1 | |
parent | 8826aefc8c459d6138506ab570c60abbfcff8aa1 (diff) |
- implement PKG_CONFIG_SYSROOT_DIR
- bump version to 0.23
Diffstat (limited to 'usr.bin/pkg-config/pkg-config.1')
-rw-r--r-- | usr.bin/pkg-config/pkg-config.1 | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config.1 b/usr.bin/pkg-config/pkg-config.1 index 5c0cf4ab32f..1a9180eef94 100644 --- a/usr.bin/pkg-config/pkg-config.1 +++ b/usr.bin/pkg-config/pkg-config.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pkg-config.1,v 1.17 2011/03/10 19:13:14 jasper Exp $ +.\" $OpenBSD: pkg-config.1,v 1.18 2011/03/14 08:35:08 jasper Exp $ .\" .\" Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 10 2011 $ +.Dd $Mdocdate: March 14 2011 $ .Dt PKG-CONFIG 1 .Os .Sh NAME @@ -154,6 +154,16 @@ will write the passed arguments. This can be used to specify a colon-separated list of paths to search for package files. If given, this list of paths is prepended to the standard search path. +.It Ev PKG_CONFIG_SYSROOT_DIR +This modifies +.Fl I +and +.Fl L +to use the target sysroot directory. +Thus -I/usr/local/include will become -I/target/usr/local/include when +PKG_CONFIG_SYSROOT_DIR is set to /target, which is useful when crosscompiling +packages that use +.Nm . .It Ev PKG_CONFIG_TOP_BUILD_DIR If set .Nm |