Skip to content
Snippets Groups Projects
Commit a4a64e3f authored by Natanael Copa's avatar Natanael Copa
Browse files

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)
parent 37c29649
No related branches found
No related tags found
No related merge requests found
...@@ -624,7 +624,7 @@ find_so_files() { ...@@ -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 ] \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment