Fix the pkg-config test

This commit is contained in:
Pierre Pronchery 2020-11-03 23:58:01 +01:00
parent 87d63dc472
commit 66cdf5365e

View File

@ -38,7 +38,7 @@ _pkgconfig()
packages="$3"
echo -n "$caption"
output=$($PKGCONFIG $options "$packages")
output=$(PKG_CONFIG_PATH="$PKG_CONFIG_PATH" $PKGCONFIG $options "$packages")
ret=$?
echo "$output"
return $ret