From d020f7a7d64326413db408b1d6d71ed0a0f3c722 Mon Sep 17 00:00:00 2001 From: rrt Date: Fri, 5 Jan 2001 17:56:23 +0000 Subject: [PATCH] [project @ 2001-01-05 17:56:23 by rrt] Windows fixes. --- ghc/driver/PackageSrc.hs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ghc/driver/PackageSrc.hs b/ghc/driver/PackageSrc.hs index 4410b8e..33bbd1b 100644 --- a/ghc/driver/PackageSrc.hs +++ b/ghc/driver/PackageSrc.hs @@ -112,9 +112,11 @@ package_details installing = package_deps = [ "rts" ], extra_ghc_opts = [], extra_cc_opts = [], - extra_ld_opts = [ "-lm" + extra_ld_opts = [ #ifdef mingw32_TARGET_OS - , "-lwsock32" + "-lwsock32" +#else + "-lm" #endif ] }, @@ -311,7 +313,7 @@ package_details installing = extra_libraries = [], include_dirs = [], c_includes = [], - package_deps = [], + package_deps = [ "lang" ], extra_ghc_opts = [], extra_cc_opts = [], extra_ld_opts = [], @@ -332,7 +334,7 @@ package_details installing = package_deps = [ "lang", "greencard" ], extra_ghc_opts = [], extra_cc_opts = [], - extra_ld_opts = [ "-luser32", "-lgdi32" ] + extra_ld_opts = [ "-luser32", "-lgdi32", "-lwinmm" ] }, Package { -- 1.7.10.4