Commit 9d0a8124 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: properly add $BUILD_BASE to dependency chain

We want build the toolchain and build tools first
parent e3c46369
......@@ -807,10 +807,10 @@ builddeps() {
local filtered_deps=
[ -n "$nodeps" ] && return 0
msg "Analyzing dependencies..."
deps="$BUILD_BASE $makedepends"
# add depends unless it is a subpackage
for i in $depends; do
# add depends unless it is a subpackage or package itself
for i in $BUILD_BASE $depends $makedepends; do
[ "$pkgname" = "${i%%[<>=]*}" ] && continue
subpackages_has ${i%%[<>=]*} || deps="$deps $i"
Supports Markdown
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