summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 0166925..b576a0d 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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"