Skip to content

Commit

Permalink
Don't build ghci lib if we're not making vanilla libs
Browse files Browse the repository at this point in the history
As the .o files will not exist.
  • Loading branch information
dcoutts committed Feb 6, 2009
1 parent 71a09c7 commit af45c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Distribution/Simple/GHC.hs
Expand Up @@ -466,7 +466,7 @@ build pkg_descr lbi verbosity = do
ifVanillaLib forceVanilla = when (forceVanilla || withVanillaLib lbi)
ifProfLib = when (withProfLib lbi)
ifSharedLib = when (withSharedLib lbi)
ifGHCiLib = when (withGHCiLib lbi)
ifGHCiLib = when (withGHCiLib lbi && withVanillaLib lbi)

-- Build lib
withLib pkg_descr () $ \lib -> do
Expand Down

0 comments on commit af45c88

Please sign in to comment.