Commit 9e917553 authored by Natanael Copa's avatar Natanael Copa

abuild: add warning when depends_dev needs cleanup

parent f5dce44b
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment