From: Simon Marlow Date: Fri, 7 Nov 2008 09:29:25 +0000 (+0000) Subject: Bugfix for patch "Do not filter the rts from linked libraries..." (#2745) X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=178eeaa814ab8323a54024e4bb45b4629b7828c8 Bugfix for patch "Do not filter the rts from linked libraries..." (#2745) The sense of the #ifdef was wrong --- diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index 716e06b..c65941c 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -1497,7 +1497,7 @@ linkDynLib dflags o_files dep_packages = do -- On Windows we need to link the RTS import lib as Windows does -- not allow undefined symbols. -#if defined(mingw32_HOST_OS) +#if !defined(mingw32_HOST_OS) let pkgs_no_rts = filter ((/= rtsPackageId) . packageConfigId) pkgs #else let pkgs_no_rts = pkgs