summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDuncan Coutts <duncan@well-typed.com>2011-05-23 20:20:52 +0100
committerDuncan Coutts <duncan@well-typed.com>2011-05-25 12:16:56 +0100
commit78185538b0d9513b1b287a98cbf96cd120c7ef8f (patch)
tree3053bf350a9ac15337d40c839bbc084d90742fc4 /utils
parent6ef41c263075b9399efa35850a7e5b0046335ef8 (diff)
downloadhaskell-78185538b0d9513b1b287a98cbf96cd120c7ef8f.tar.gz
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.
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-pkg/Main.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index cef62066c7..b66b53dfcd 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