Don't link plugins with target code (#20218)

Closed Sylvain Henry requested to merge hsyl20/ghc:hsyl20/deps into master

Merge request reports