projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03727aa
)
Bugfix for patch "Do not filter the rts from linked libraries..." (#2745)
author
Simon Marlow
<marlowsd@gmail.com>
Fri, 7 Nov 2008 09:29:25 +0000
(09:29 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 7 Nov 2008 09:29:25 +0000
(09:29 +0000)
The sense of the #ifdef was wrong
compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DriverPipeline.hs
b/compiler/main/DriverPipeline.hs
index
716e06b
..
c65941c
100644
(file)
--- 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