Skip to content
Snippets Groups Projects
Commit 851772e1 authored by Matthew Pickering's avatar Matthew Pickering Committed by Mergify
Browse files

Cabal: Take into account compilerBuildWay when computing final library ways

In the profiling dynamic patch I made a mistake when computing the
needed ways for a build.

When building an executable, the Haskell modules need to be built

* For the final link way
* For the build way of the compiler if TH is enabled

Before this patch, the modules were being built for all the configured
library ways, which built modules in more configurations than the
previous version of Cabal.

Fixes #10418

(cherry picked from commit 27c26688)
parent 3ade64cc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment