Packages cleanup, and allow new packages to be loaded with :set again
[ghc-hetmet.git] / compiler / ghci / Linker.lhs
index 2cbe755..8c6ef62 100644 (file)
@@ -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