abuild: use new PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH env variable to disable the SAT solver

This commit is contained in:
William Pitcock 2017-03-27 06:00:03 +00:00
parent 0a2f7b14c2
commit dec68bd03f
1 changed files with 1 additions and 1 deletions

View File

@ -979,7 +979,7 @@ prepare_pkgconfig_provides() {
continue
fi
local f=${i##*/}
local v=$(PKG_CONFIG_PATH="$dir"/usr/lib/pkgconfig pkg-config \
local v=$(PKG_CONFIG_PATH="$dir"/usr/lib/pkgconfig PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH=1 pkg-config \
--modversion ${f%.pc})
echo "${f%.pc}=${v:-0}" >> "$controldir"/.provides-pc
done