<p>On Aug 29, 2012 3:11 PM, "Jack Nagel" <<a href="mailto:jacknagel@gmail.com">jacknagel@gmail.com</a>> wrote:<br>
><br>
> If PKG_CONFIG_FALLBACK_PATH is set, any included paths will be searched<br>
> after those on PKG_CONFIG_PATH and the internal pc search path.<br>
><br>
> This allows a user to add directories that should be searched after<br>
> PKG_CONFIG_PATH and the internal search path, but may not have existed<br>
> at compile-time.</p>
<p>Thanks for the patch, but doesn't this duplicate the (poorly named) PKG_CONFIG_LIBDIR variable? I think you could suitably alter the system path like so:</p>
<p>if [ -z "$PKG_CONFIG_LIBDIR" ]; then<br>
    PKG_CONFIG_LIBDIR="$extra_path:`pkg-config --variable pc_path pkg-config`"<br>
else<br>
    PKG_CONFIG_LIBDIR="$extra_path:$PKG_CONFIG_LIBDIR"<br>
fi</p>
<p>Then you can set the system path without interfering with your users. I'd be wary of adding a third path altering environment variable. What do you think?</p>
<p>--<br>
Dan</p>