From: sof Date: Thu, 16 Sep 1999 08:40:16 +0000 (+0000) Subject: [project @ 1999-09-16 08:40:16 by sof] X-Git-Tag: Approximately_9120_patches~5802 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=6972bd2187847f291cb34b1e172b80d81bdd4edc;p=ghc-hetmet.git [project @ 1999-09-16 08:40:16 by sof] Minor Win32 changes --- diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index a2ca7b7..b044ed4 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -1140,7 +1140,7 @@ sub setupSyslibs { # to implement the itimers, since cygwin.dll does not # support it. Only reqd. for `ways' that use itimers. # - push(@SysLibrary, '-lwinmm') if $TargetPlatform eq 'i386-unknown-cygwin32'; + push(@SysLibrary, '-lwinmm') if ($TargetPlatform =~ /-(mingw32|cygwin32)$/); # Note: currently only tested with mingw, may cause conflicts when linking # with libcygwin.a push(@SysLibrary, '-lwsock32') if ($TargetPlatform =~ /-(mingw32|cygwin32)$/); @@ -2007,8 +2007,8 @@ sub prepareWin32DllLink () foreach $a ( @UserLibrary ) { $a = "${a}_imp" if ($a =~ /^-lHS/); } - push(@Link_file, ( $INSTALLING ) ? "$InstLibDirGhc/Main.o" - : "$TopPwd/$CURRENT_DIR/$GHC_RUNTIME_DIR/Main.o") if $linking_main; + push(@Link_file, ( $INSTALLING ) ? "$InstLibDirGhc/Main.dll_o" + : "$TopPwd/$CURRENT_DIR/$GHC_RUNTIME_DIR/Main.dll_o") if $linking_main; push(@Link_file, ( $INSTALLING ) ? "$InstLibDirGhc/PrelMain.o" : "$TopPwd/$CURRENT_DIR/$GHC_LIB_DIR/PrelMain.o") if $linking_main; }