From: sof Date: Thu, 6 May 1999 08:32:51 +0000 (+0000) Subject: [project @ 1999-05-06 08:32:51 by sof] X-Git-Tag: Approximately_9120_patches~6251 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7ac3bac83b44e03a8a8f36b0ce7c847a8d15f229;p=ghc-hetmet.git [project @ 1999-05-06 08:32:51 by sof] Add -lwsock32 to linker command line, if needs be --- diff --git a/ghc/driver/ghc.lprl b/ghc/driver/ghc.lprl index 7b2ee9c..868bfef 100644 --- a/ghc/driver/ghc.lprl +++ b/ghc/driver/ghc.lprl @@ -1277,7 +1277,10 @@ 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 eq 'i386-unknown-cygwin32'; + # Note: currently only tested with mingw, may cause conflicts when linking + # with libcygwin.a + push(@SysLibrary, '-lwsock32') if ($TargetPlatform =~ /-(mingw32|cygwin32)$/); # Push the pvm libraries if ($BuildTag eq '_mp') {