diff options
author | Simon Marlow <marlowsd@gmail.com> | 2008-11-07 09:29:25 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2008-11-07 09:29:25 +0000 |
commit | 178eeaa814ab8323a54024e4bb45b4629b7828c8 (patch) | |
tree | d09488201aaaefe93b452d7e77ccd4562a375985 /compiler/main | |
parent | 03727aa00ed928ae5531a43bb0ae9081f31eb1a8 (diff) | |
download | haskell-178eeaa814ab8323a54024e4bb45b4629b7828c8.tar.gz |
Bugfix for patch "Do not filter the rts from linked libraries..." (#2745)
The sense of the #ifdef was wrong
Diffstat (limited to 'compiler/main')
-rw-r--r-- | compiler/main/DriverPipeline.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index 716e06b772..c65941cd9e 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 |