From ef59baf30485c40cf8b6672acc0c4bfba0bf957f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 3 Feb 2015 00:17:03 +0100 Subject: [PATCH] Document environment variables --- pkgconf.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgconf.1 b/pkgconf.1 index 1784870..bbaabbb 100644 --- a/pkgconf.1 +++ b/pkgconf.1 @@ -122,3 +122,14 @@ file. This can be used with graphviz to visualize module interdependencies. Displaying the CFLAGS of a package: .Dl $ pkgconf --cflags foo .Dl -fPIC -I/usr/include/foo +.Sh ENVIRONMENT +.Bl -tag -width indent +.It Va PKG_CONFIG_PATH +List of directories where +.Sq .pc +files are looked up. +.It Va PKG_CONFIG_SYSROOT_DIR +.Sq sysroot +directory, will be prepended to every path defined in +.Va PKG_CONFIG_PATH . +Useful for cross compilation.