summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-06-04 07:51:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-04 07:51:44 +0000
commitfddc01bbbbe61ea81f4e582bcfbd1ec1f955f8c5 (patch)
tree4b0a60261e960040366788594774c031db5473ff
parent2f5ef7e2fa6acb03ffb1ed3d372e0945816c8fa4 (diff)
downloadabuild-fddc01bbbbe61ea81f4e582bcfbd1ec1f955f8c5.tar.bz2
abuild-fddc01bbbbe61ea81f4e582bcfbd1ec1f955f8c5.tar.xz
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.
-rw-r--r--abuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 4d649bc..cb5d286 100644
--- a/abuild.in
+++ b/abuild.in
@@ -909,7 +909,7 @@ prepare_pkgconfig_provides() {
fi
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
done
}