Bug 4795

Summary: [PENDING] Man page documentation is misleading: PKG_CONFIG_LIBDIR
Product: pkg-config Reporter: Brett Nash <nash>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Brett Nash 2005-10-17 17:20:06 UTC
PKG_CONFIG_LIBDIR
              Replaces the default pkg-config search directory.

It actually sets the pkg-config search PATH and overries and PKG_CONFIG_PATH if
set.  (The second is a little surprising, but makes sense, the first is a
noticable difference).
Comment 1 Yevgen Muntyan 2006-08-01 12:34:54 UTC
This is *very* misleading. I spent an hour trying to understand why it can't
find a package. I set PKG_CONFIG_LIBDIR to win32 pkgconfig dir, and
PKG_CONFIG_PATH to whatever pkgconfig dirs I have, so I supposed
PKG_CONFIG_LIBDIR will take care of not searching /usr/lib/pkgconfig *and*
PKG_CONFIG_PATH will be searched as usual.
Comment 2 Tollef Fog Heen 2006-08-16 11:02:26 UTC
Fix put in bzr, thanks for notifying me.
Comment 3 Tollef Fog Heen 2010-05-27 13:31:01 UTC
As this has been released, I'm closing this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.