projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-09-18 16:23:57 by wolfgang]
[ghc-hetmet.git]
/
ghc
/
compiler
/
main
/
Packages.lhs
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
-- _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))
| otherwise = lib
return (concat (map all_opts ps))