Skip to content

contrib: force dependencies on forced packages

If the package foo has been forced (PKGS_ENABLE += foo) and the dependencies of package bar includes foo (DEPS_bar = foo), but foo has been found on the system (PKGS_FOUND += foo), then foo and bar would be built simultaneously.

This commit ensure that forced packages like foo are still built before packages depending on them, like bar.

Merge request reports