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).
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.
Fix put in bzr, thanks for notifying me.
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.