diff --git a/main.c b/main.c index 122c780..2b3eb69 100644 --- a/main.c +++ b/main.c @@ -799,7 +799,7 @@ main(int argc, char *argv[]) * this allows for a --static which searches private modules, but has the same fragment behaviour as if * --static were disabled. see for rationale. */ - if ((want_flags & PKG_PURE) == PKG_PURE) + if ((want_flags & PKG_PURE) == PKG_PURE || getenv("PKG_CONFIG_PURE_DEPGRAPH") != NULL) global_traverse_flags &= ~PKGCONF_PKG_PKGF_MERGE_PRIVATE_FRAGMENTS; if ((want_flags & PKG_ENV_ONLY) == PKG_ENV_ONLY)