summaryrefslogtreecommitdiff
path: root/usr.bin/pkg-config/pkg-config.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/pkg-config/pkg-config.1')
-rw-r--r--usr.bin/pkg-config/pkg-config.114
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