summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--abuild.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 9e77ee4..12e43da 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1049,6 +1049,10 @@ trace_apk_deps() {
for i in $(sort -u "$dir"/.needs-pc 2>/dev/null); do
if subpkg_provides_pc "$i" || cross_compiling \
|| $APK info --quiet --installed "pc:$i"; then
+ local provider=$(apk search --quiet "pc:$i")
+ if list_has "$provider" $depends_dev; then
+ warning "$provider should be removed from depends_dev"
+ fi
autodeps="$autodeps pc:$i"
else
warning "Could not find any provider for pc:$i"