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:
parent
37c29649f7
commit
a4a64e3f4c
|
@ -624,7 +624,7 @@ find_so_files() {
|
||||||
trace_apk_deps() {
|
trace_apk_deps() {
|
||||||
local name="$1"
|
local name="$1"
|
||||||
local dir="$2"
|
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..."
|
msg "Tracing dependencies for $name..."
|
||||||
# add pkgconfig if usr/lib/pkgconfig is found
|
# add pkgconfig if usr/lib/pkgconfig is found
|
||||||
if [ -d "$pkgbasedir"/$name/usr/lib/pkgconfig ] \
|
if [ -d "$pkgbasedir"/$name/usr/lib/pkgconfig ] \
|
||||||
|
|
Loading…
Reference in New Issue