198205 link mode: properly support dependency derivation in static-only build projects.

Authored and Committed by midipix 8 months ago
    link mode: properly support dependency derivation in static-only build projects.