From: sewardj Date: Wed, 27 Jun 2001 11:04:33 +0000 (+0000) Subject: [project @ 2001-06-27 11:04:33 by sewardj] X-Git-Tag: Approximately_9120_patches~1704 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=776b2a09899f1473c6dcc7e8a094b1a697439c37;p=ghc-hetmet.git [project @ 2001-06-27 11:04:33 by sewardj] On mingw32, package std for ghci is split into HSstd1.o and HSstd2.o. --- diff --git a/ghc/driver/PackageSrc.hs b/ghc/driver/PackageSrc.hs index 3e93631..09762b8 100644 --- a/ghc/driver/PackageSrc.hs +++ b/ghc/driver/PackageSrc.hs @@ -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"]