summaryrefslogtreecommitdiff
path: root/compiler/main
diff options
context:
space:
mode:
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