abuild: explicitly use so:depends when croscompiling

This commit is contained in:
Natanael Copa 2013-07-02 09:14:31 +02:00
parent 4edf77e50f
commit 60eb0dc80f
1 changed files with 2 additions and 1 deletions

View File

@ -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"
else
missing="$missing $i"