[Do not filter the rts from linked libraries in linkDynLib as Windows does not allow unresolved symbols Clemens Fruhwirth **20081013201426] { hunk ./compiler/main/DriverPipeline.hs 1497 - let pkgs_no_rts = filter ((/= rtsPackageId) . packageConfigId) pkgs hunk ./compiler/main/DriverPipeline.hs 1498 + -- On Windows we need to link the RTS import lib as Windows does + -- not allow undefined symbols. +#if defined(mingw32_HOST_OS) + let pkgs_no_rts = filter ((/= rtsPackageId) . packageConfigId) pkgs +#else + let pkgs_no_rts = pkgs +#endif }