projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b4dc745
)
[project @ 2005-09-18 16:23:57 by wolfgang]
author
wolfgang
<unknown>
Sun, 18 Sep 2005 16:23:57 +0000
(16:23 +0000)
committer
wolfgang
<unknown>
Sun, 18 Sep 2005 16:23:57 +0000
(16:23 +0000)
Fix last commit: it's opt_Static in the HEAD branch, not a local variable
"static".
ghc/compiler/main/Packages.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/Packages.lhs
b/ghc/compiler/main/Packages.lhs
index
5f10fe3
..
a357480
100644
(file)
--- a/
ghc/compiler/main/Packages.lhs
+++ b/
ghc/compiler/main/Packages.lhs
@@
-555,7
+555,7
@@
getPackageLinkOpts dflags pkgs = do
-- _dyn to extraLibraries if they already have a _cbits suffix.
hACK_dyn = map hack
- where hack lib | not static && "_cbits" `isSuffixOf` lib = lib ++ "_dyn"
+ where hack lib | not opt_Static && "_cbits" `isSuffixOf` lib = lib ++ "_dyn"
| otherwise = lib
return (concat (map all_opts ps))