From cf21a002be9ad42188c7d6e031a6a1eb36cd9b18 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 18 Apr 2013 05:25:52 -0700 Subject: [PATCH] Document search path construction on Windows --- pkg-config.1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkg-config.1 b/pkg-config.1 index 6df2c68..90a2128 100644 --- a/pkg-config.1 +++ b/pkg-config.1 @@ -294,6 +294,18 @@ or $ pkg-config --modversion pkg-config .fi .SH WINDOWS SPECIALITIES +The +.I pkg-config +default search path is ignored on Windows. Instead, the search path is +constructed by using the installed directory of +.I pkg-config +and then appending +.I lib\epkgconfig +and +.IR share\epkgconfig . +This can be augmented or replaced using the standard environment +variables described above. + If a .pc file is found in a directory that matches the usual conventions (i.e., ends with \\lib\\pkgconfig or \\share\\pkgconfig), the prefix for that package is assumed to be the grandparent of the