Skip to content

Commit

Permalink
Merge pull request #6319 from commercialhaskell/fix6318
Browse files Browse the repository at this point in the history
Fix #6318 Register sublibraries if no library
  • Loading branch information
mpilgrem authored Oct 25, 2023
2 parents e1443d3 + a850863 commit f0b7fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stack/Build/Execute.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ singleBuild
(packageBuildType package == C.Simple)
(displayException err)
_ -> pure ()
when hasLibrary $ cabal KeepTHLoading ["register"]
when (hasLibrary || hasInternalLibrary) $ cabal KeepTHLoading ["register"]

-- copy ddump-* files
case T.unpack <$> boptsDdumpDir eeBuildOpts of
Expand Down

0 comments on commit f0b7fa0

Please sign in to comment.