Commit 1a4a4b22 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Don't build ghci lib if we're not making vanilla libs

As the .o files will not exist.
parent 79133e2b
......@@ -473,7 +473,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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment