abuild: bugfix in dep tracing

due to unintialized and non-local variable the tracing of deps
didnt work as expected when dependencies was provided by the apkbuild
itself. (libgcc ended up depending on libgcj which depended on binutils)
This commit is contained in:
Natanael Copa 2011-03-04 22:34:37 +00:00
parent 37c29649f7
commit a4a64e3f4c
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ find_so_files() {
trace_apk_deps() {
local name="$1"
local dir="$2"
local i= j= found= autodeps= deppkgs= missing= so_paths=
local i= j= found= autodeps= deppkgs= missing= so_paths= self_provided=
msg "Tracing dependencies for $name..."
# add pkgconfig if usr/lib/pkgconfig is found
if [ -d "$pkgbasedir"/$name/usr/lib/pkgconfig ] \