diff options
-rwxr-xr-x | abuild.in | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |