From: Duncan Coutts Date: Mon, 23 May 2011 19:20:52 +0000 (+0100) Subject: Deprecate the ghc-pkg --auto-ghci-libs flag X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=78185538b0d9513b1b287a98cbf96cd120c7ef8f;p=ghc-hetmet.git Deprecate the ghc-pkg --auto-ghci-libs flag It was never a universal solution. It only worked with the GNU linker. It has not been used by Cabal for ages. GHCi can now load .a files so it will not be needed in future. --- diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs index cef6206..b66b53d 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -642,6 +642,9 @@ registerPackage input verbosity my_flags auto_ghci_libs expand_env_vars update f db_to_operate_on = my_head "register" $ filter ((== to_modify).location) db_stack -- + when (auto_ghci_libs && verbosity >= Silent) $ + warn "Warning: --auto-ghci-libs is deprecated and will be removed in GHC 7.4" + -- s <- case input of "-" -> do