abuild: fix recursive building
fixes bug introduced with c6b0de32a (abuild: add makedepends_build and makedepends_host for crosscompile)
This commit is contained in:
parent
23c760b499
commit
a2bab13656
@ -1610,7 +1610,7 @@ builddeps() {
|
||||
[ -z "$recursive" ] && return 1
|
||||
|
||||
# find dependencies that are installed but missing in repo.
|
||||
for i in $deps; do
|
||||
for i in $builddeps; do
|
||||
local m=$($APK search --repository "$abuildrepo" ${i%%[<>=]*})
|
||||
if [ -z "$m" ]; then
|
||||
missing="$missing $i"
|
||||
@ -1635,7 +1635,7 @@ builddeps() {
|
||||
done
|
||||
$SUDO_APK add --upgrade --repository "$abuildrepo" \
|
||||
$apk_opt_wait \
|
||||
--virtual .makedepends-$pkgname $deps
|
||||
--virtual .makedepends-$pkgname $builddeps
|
||||
}
|
||||
|
||||
# replace the md5sums in the APKBUILD
|
||||
|
Loading…
x
Reference in New Issue
Block a user