From 7ac3bac83b44e03a8a8f36b0ce7c847a8d15f229 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 6 May 1999 08:32:51 +0000 Subject: [PATCH] [project @ 1999-05-06 08:32:51 by sof] Add -lwsock32 to linker command line, if needs be --- ghc/driver/ghc.lprl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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') { -- 1.7.10.4