[project @ 2001-06-27 11:04:33 by sewardj]
authorsewardj <unknown>
Wed, 27 Jun 2001 11:04:33 +0000 (11:04 +0000)
committersewardj <unknown>
Wed, 27 Jun 2001 11:04:33 +0000 (11:04 +0000)
On mingw32, package std for ghci is split into HSstd1.o and HSstd2.o.

ghc/driver/PackageSrc.hs

index 3e93631..09762b8 100644 (file)
@@ -128,7 +128,14 @@ package_details installing
                             then [ "$libdir" ]
                             else [ ghc_src_dir cGHC_LIB_DIR ++ "/std"
                                  , ghc_src_dir cGHC_LIB_DIR ++ "/std/cbits" ],
-        hs_libraries      = [ "HSstd" ],
+
+        hs_libraries      = 
+#                           ifndef mingw32_TARGET_OS
+                            [ "HSstd" ]
+#                           else
+                            [ "HSstd1", "HSstd2" ]
+#                           endif
+                            ,
        extra_libraries   = [ "HSstd_cbits" ] ++
 #                           ifdef mingw32_TARGET_OS
                             ["wsock32", "msvcrt"]