summaryrefslogtreecommitdiff
path: root/compiler/main
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2008-11-07 09:29:25 +0000
committerSimon Marlow <marlowsd@gmail.com>2008-11-07 09:29:25 +0000
commit178eeaa814ab8323a54024e4bb45b4629b7828c8 (patch)
treed09488201aaaefe93b452d7e77ccd4562a375985 /compiler/main
parent03727aa00ed928ae5531a43bb0ae9081f31eb1a8 (diff)
downloadhaskell-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.hs2
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