| --- a/misc/gen-pkgconfig.in 2021-02-16 18:39:25.511363425 -0800 |
| +++ b/misc/gen-pkgconfig.in 2021-02-16 18:39:46.091199906 -0800 |
| @@ -128,7 +128,7 @@ |
| |
| # The "URL" feature came in pkg-config 0.17 |
| USEURL="" |
| -CFGVER=`pkg-config --version 2>/dev/null |head -n 1 | awk -F. '/0.[0-9][0-9]/{print $2;}'` |
| +CFGVER=`${PKG_CONFIG} --version 2>/dev/null |head -n 1 | awk -F. '/0.[0-9][0-9]/{print $2;}'` |
| # A missing version should simply fail, but some packagers insist on building |
| # packages on machines which do not actually have the tools they depend on at |
| # runtime. |