[project @ 2001-06-22 12:37:11 by rrt]
authorrrt <unknown>
Fri, 22 Jun 2001 12:37:11 +0000 (12:37 +0000)
committerrrt <unknown>
Fri, 22 Jun 2001 12:37:11 +0000 (12:37 +0000)
Add wsock32 to list of libraries needed for rts under Windows.

ghc/driver/PackageSrc.hs

index ad10cf0..9740260 100644 (file)
@@ -67,7 +67,7 @@ package_details installing
 #ifndef mingw32_TARGET_OS
        extra_libraries   = [],
 #else
-        extra_libraries   = [ "winmm" ], -- for the threadDelay timer
+        extra_libraries   = [ "winmm", "wsock32" ], -- winmm for the threadDelay timer, wsock32 for the linker
 #endif
         include_dirs   = if installing
                             then [ "$libdir/includes" ]