diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-02 09:14:31 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-02 09:14:31 +0200 |
commit | 60eb0dc80f61ae259fbf66fe36d6a58f4685c3cf (patch) | |
tree | 4224b7de00fd6ca8fc7bc155c9784bb0810184c8 | |
parent | 4edf77e50fa99c950ca7b9e95833fe69a5662947 (diff) | |
download | abuild-60eb0dc80f61ae259fbf66fe36d6a58f4685c3cf.tar.gz abuild-60eb0dc80f61ae259fbf66fe36d6a58f4685c3cf.tar.bz2 abuild-60eb0dc80f61ae259fbf66fe36d6a58f4685c3cf.tar.xz abuild-60eb0dc80f61ae259fbf66fe36d6a58f4685c3cf.zip |
abuild: explicitly use so:depends when croscompiling
-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" |