[project @ 2001-06-29 14:47:20 by sewardj]
[ghc-hetmet.git] / ghc / driver / PackageSrc.hs
index c9bb864..f9651bd 100644 (file)
@@ -133,6 +133,10 @@ package_details installing
 #                           ifndef mingw32_TARGET_OS
                             [ "HSstd" ]
 #                           else
+                            -- This splitting is the subject of a totally 
+                            -- horrible hack, which glues HSstd1 and HSstd2 
+                            -- back into HSstd for the purposes of static linking.
+                            -- See DriverState.getPackageLibraries for details.
                             [ "HSstd1", "HSstd2" ]
 #                           endif
                             ,
@@ -312,7 +316,11 @@ package_details installing
                              else [ "$libdir/hslibs/util"
                                   , "$libdir/hslibs/util/cbits" ],
          hs_libraries      = [ "HSutil" ],
-        extra_libraries   = [ "HSutil_cbits" ] ++ words cLibsReadline,
+        extra_libraries   = [ "HSutil_cbits" ] 
+#ifndef mingw32_TARGET_OS
+                             ++ words cLibsReadline
+#endif
+                             ,
          include_dirs   = if installing
                              then []
                              else [ "$libdir/hslibs/util/cbits" ],