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

abuild: fix recursive building

fixes bug introduced with c6b0de32 (abuild: add makedepends_build and
makedepends_host for crosscompile)
parent 23c760b4
......@@ -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() {
$SUDO_APK add --upgrade --repository "$abuildrepo" \
$apk_opt_wait \
--virtual .makedepends-$pkgname $deps
--virtual .makedepends-$pkgname $builddeps
# replace the md5sums in the APKBUILD
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