Commit 09427f9c authored by Natanael Copa's avatar Natanael Copa

abuild: fix finding pkg-config deps in subpackages

We strip version from pkg-config dependency when scanning the
subpackages.
parent 0e58eeff
......@@ -999,7 +999,8 @@ subpkg_provides_so() {
}
subpkg_provides_pc() {
grep -q -w "^$1" "$pkgbasedir"/.control.*/.provides-pc 2>/dev/null
grep -q -w "^${1%%[<>=]*}" "$pkgbasedir"/.control.*/.provides-pc \
2>/dev/null
}
trace_apk_deps() {
......
Markdown is supported
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