[commit: packages/Cabal] ghc-head: Default 'library-for-ghci' to True on Windows. (cb0ad7a)
git at git.haskell.org
git at git.haskell.org
Thu Jan 16 16:03:56 UTC 2014
Repository : ssh://git@git.haskell.org/Cabal
On branch : ghc-head
Link : http://git.haskell.org/packages/Cabal.git/commitdiff/cb0ad7a77457ef77c34ab4b6d54e2bdc5a972fa1
>---------------------------------------------------------------
commit cb0ad7a77457ef77c34ab4b6d54e2bdc5a972fa1
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date: Wed Nov 27 09:20:57 2013 +0100
Default 'library-for-ghci' to True on Windows.
Temporary workaround. Fixes #1589.
>---------------------------------------------------------------
cb0ad7a77457ef77c34ab4b6d54e2bdc5a972fa1
Cabal/Distribution/Simple/Setup.hs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Cabal/Distribution/Simple/Setup.hs b/Cabal/Distribution/Simple/Setup.hs
index f705e53..f95731c 100644
--- a/Cabal/Distribution/Simple/Setup.hs
+++ b/Cabal/Distribution/Simple/Setup.hs
@@ -335,7 +335,12 @@ defaultConfigFlags progConf = emptyConfigFlags {
configDistPref = Flag defaultDistPref,
configVerbosity = Flag normal,
configUserInstall = Flag False, --TODO: reverse this
+#if defined(mingw32_HOST_OS)
+ -- See #1589.
+ configGHCiLib = Flag True,
+#else
configGHCiLib = Flag False,
+#endif
configSplitObjs = Flag False, -- takes longer, so turn off by default
configStripExes = Flag True,
configTests = Flag False,
More information about the ghc-commits
mailing list