cli: if --exists is specified, require the full dependency graph to validate
parent
5436648cd4
commit
20db9ffcbe
|
@ -1039,6 +1039,9 @@ main(int argc, char *argv[])
|
||||||
if ((want_flags & PKG_STATIC) == PKG_STATIC || personality->want_default_static)
|
if ((want_flags & PKG_STATIC) == PKG_STATIC || personality->want_default_static)
|
||||||
want_client_flags |= (PKGCONF_PKG_PKGF_SEARCH_PRIVATE | PKGCONF_PKG_PKGF_MERGE_PRIVATE_FRAGMENTS);
|
want_client_flags |= (PKGCONF_PKG_PKGF_SEARCH_PRIVATE | PKGCONF_PKG_PKGF_MERGE_PRIVATE_FRAGMENTS);
|
||||||
|
|
||||||
|
if ((want_flags & PKG_EXISTS) == PKG_EXISTS)
|
||||||
|
want_client_flags |= PKGCONF_PKG_PKGF_SEARCH_PRIVATE;
|
||||||
|
|
||||||
if ((want_flags & PKG_SHARED) == PKG_SHARED)
|
if ((want_flags & PKG_SHARED) == PKG_SHARED)
|
||||||
want_client_flags &= ~(PKGCONF_PKG_PKGF_SEARCH_PRIVATE | PKGCONF_PKG_PKGF_MERGE_PRIVATE_FRAGMENTS);
|
want_client_flags &= ~(PKGCONF_PKG_PKGF_SEARCH_PRIVATE | PKGCONF_PKG_PKGF_MERGE_PRIVATE_FRAGMENTS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue