Reuse static solution for general solution
parent
883b57df47
commit
e2a8080cbf
12
cli/main.c
12
cli/main.c
|
@ -1576,20 +1576,8 @@ cleanup3:
|
||||||
printf(" ");
|
printf(" ");
|
||||||
|
|
||||||
if (!(want_flags & PKG_STATIC))
|
if (!(want_flags & PKG_STATIC))
|
||||||
{
|
|
||||||
pkgconf_client_set_flags(&pkg_client, pkg_client.flags & ~PKGCONF_PKG_PKGF_SEARCH_PRIVATE);
|
pkgconf_client_set_flags(&pkg_client, pkg_client.flags & ~PKGCONF_PKG_PKGF_SEARCH_PRIVATE);
|
||||||
|
|
||||||
/* redo the solution for the library set: free the solution itself, and any cached graph nodes */
|
|
||||||
pkgconf_solution_free(&pkg_client, &world);
|
|
||||||
pkgconf_cache_free(&pkg_client);
|
|
||||||
|
|
||||||
if (!pkgconf_queue_solve(&pkg_client, &pkgq, &world, maximum_traverse_depth))
|
|
||||||
{
|
|
||||||
ret = EXIT_FAILURE;
|
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
apply_libs(&pkg_client, &world, NULL, 2);
|
apply_libs(&pkg_client, &world, NULL, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue