From 60eb0dc80f61ae259fbf66fe36d6a58f4685c3cf Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 2 Jul 2013 09:14:31 +0200 Subject: abuild: explicitly use so:depends when croscompiling --- abuild.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-60-g2f50