mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-04-04 15:21:08 +00:00
abuild: fix finding pkg-config deps in subpackages
We strip version from pkg-config dependency when scanning the subpackages.
This commit is contained in:
parent
0e58eeff80
commit
09427f9c7c
@ -999,7 +999,8 @@ subpkg_provides_so() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
subpkg_provides_pc() {
|
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() {
|
trace_apk_deps() {
|
||||||
|
Loading…
Reference in New Issue
Block a user