Commit fddc01bb authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: fix detection of pkg-config module version

pkg-config will not print version unless dependencies are met so we can
not exclude the system modules.
parent 2f5ef7e2
......@@ -909,7 +909,7 @@ prepare_pkgconfig_provides() {
local f=${i##*/}
local v=$(PKG_CONFIG_PATH="$dir"/usr/lib/pkgconfig pkg-config \
--env-only --modversion ${f%.pc})
--modversion ${f%.pc})
echo "${f%.pc}=${v:-0}" >> "$controldir"/.provides-pc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment