From: rrt Date: Fri, 5 Jan 2001 17:56:23 +0000 (+0000) Subject: [project @ 2001-01-05 17:56:23 by rrt] X-Git-Tag: Approximately_9120_patches~2962 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d020f7a7d64326413db408b1d6d71ed0a0f3c722;p=ghc-hetmet.git [project @ 2001-01-05 17:56:23 by rrt] Windows fixes. --- 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 {