forked from ariadne/pkgconf
pkg: croak if dependency tree is incomplete
parent
05d596b9bc
commit
4fe2dc1b96
2
pkg.c
2
pkg.c
|
@ -55,7 +55,7 @@ pkg_traverse(pkg_t *root,
|
||||||
if (pkgdep == NULL)
|
if (pkgdep == NULL)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "dependency '%s' is not satisfiable, see PKG_CONFIG_PATH\n", node->package);
|
fprintf(stderr, "dependency '%s' is not satisfiable, see PKG_CONFIG_PATH\n", node->package);
|
||||||
continue;
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_traverse(pkgdep, pkg_traverse_func, data, maxdepth - 1);
|
pkg_traverse(pkgdep, pkg_traverse_func, data, maxdepth - 1);
|
||||||
|
|
Loading…
Reference in New Issue