Commit 178eeaa8 authored by Simon Marlow's avatar Simon Marlow
Browse files

Bugfix for patch "Do not filter the rts from linked libraries..." (#2745)

The sense of the #ifdef was wrong
parent 03727aa0
......@@ -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
let pkgs_no_rts = pkgs
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment