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

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