Massive patch for the first months work adding System FC to GHC #13
[ghc-hetmet.git] / compiler / ghci / Linker.lhs
index 2cbe755..976fe92 100644 (file)
@@ -53,7 +53,7 @@ import SrcLoc         ( SrcSpan )
 
 -- Standard libraries
 import Control.Monad   ( when, filterM, foldM )
-
 import Data.IORef      ( IORef, readIORef, writeIORef, modifyIORef )
 import Data.List       ( partition, nub )
 
@@ -224,7 +224,7 @@ reallyInitDynLinker dflags
        ; initObjLinker 
 
                -- (b) Load packages from the command-line
-       ; linkPackages dflags (explicitPackages (pkgState dflags))
+       ; linkPackages dflags (preloadPackages (pkgState dflags))
 
                -- (c) Link libraries from the command-line
        ; let optl = getOpts dflags opt_l