common/build_dependencies.sh: Disallow subpackages in makedepends

This commit is contained in:
John 2019-10-15 19:51:39 +02:00 committed by Juan RP
parent 32831bec74
commit 46ac0aeb23

View file

@ -280,7 +280,7 @@ install_pkg_deps() {
fi
done
if [[ $found -eq 1 ]]; then
echo " [target] ${_vpkg}: not found (subpkg, ignored)"
msg_error "[target] ${_vpkg}: target dependency '${_subpkg}' is a subpackage of $pkgname\n"
else
echo " [target] ${_vpkg}: not found"
missing_deps+=("$_vpkg")