qb: Prefer pkgconf over the legacy GNU pkg-config.

This commit is contained in:
orbea 2017-11-21 09:04:55 -08:00
parent 06f10d1368
commit 51dfbd98b1

View File

@ -85,7 +85,7 @@ fi
if [ -z "$PKG_CONF_PATH" ]; then
PKG_CONF_PATH="none"
for pkgconf in pkg-config; do
for pkgconf in pkgconf pkg-config; do
PKGCONF="$(exists "${CROSS_COMPILE}${pkgconf}")" || PKGCONF=""
[ "$PKGCONF" ] && {
PKG_CONF_PATH="$PKGCONF"