Commit 3bd23889 authored by Natanael Copa's avatar Natanael Copa

abuild: depend on so: provides when available

and fall back to traditional so dependency tracing when not available

also sort the deps
parent d02257f0
......@@ -890,7 +890,11 @@ trace_apk_deps() {
self_provided="$self_provided $found"
fi
else
missing="$missing $i"
if $APK info --quiet --installed "so:$i"; then
autodeps="$autodeps so:$i"
else
missing="$missing $i"
fi
fi
done
......@@ -918,8 +922,8 @@ trace_apk_deps() {
fi
[ -z "$autodeps" ] && return 0
for i in $autodeps; do
echo "depend = $i" >> "$dir"/.PKGINFO
done
echo "depend = $i"
done | sort -u >> "$dir"/.PKGINFO
}
find_scanelf_paths() {
......
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