From: wolfgang Date: Sun, 18 Sep 2005 16:23:57 +0000 (+0000) Subject: [project @ 2005-09-18 16:23:57 by wolfgang] X-Git-Tag: Initial_conversion_from_CVS_complete~205 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2e1e502018e0364227d7ffb6ed3a32e29359278b;p=ghc-hetmet.git [project @ 2005-09-18 16:23:57 by wolfgang] Fix last commit: it's opt_Static in the HEAD branch, not a local variable "static". --- diff --git a/ghc/compiler/main/Packages.lhs b/ghc/compiler/main/Packages.lhs index 5f10fe3..a357480 100644 --- 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))