Ninja: Avoid cleandead with dyndep bindings for Fortran module dependencies

The Ninja cleandead tool does not account for implicit outputs discovered by dyndep bindings and can remove Fortran .mod files that are still needed. Disable the cleandead step when using dyndep bindings.

Fixes: #21406 (closed)
Backport: release

Merge request reports

Loading