Commit 60eb0dc8 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: explicitly use so:depends when croscompiling

parent 4edf77e5
......@@ -958,7 +958,8 @@ trace_apk_deps() {
# first check if its provided by same apkbuild
grep -q -w "^$i" "$dir"/.provides-so 2>/dev/null && continue
if subpkg_provides "$i" || $APK info -q -e "so:$i"; then
if subpkg_provides "$i" || [ "$CBUILD" != "$CHOST" ] \
|| $APK info --quiet --installed "so:$i"; then
autodeps="$autodeps so:$i"
missing="$missing $i"
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