From 2e1e502018e0364227d7ffb6ed3a32e29359278b Mon Sep 17 00:00:00 2001 From: wolfgang Date: Sun, 18 Sep 2005 16:23:57 +0000 Subject: [PATCH] [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". --- ghc/compiler/main/Packages.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 1.7.10.4