Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: haskell/cabal
...
head fork: haskell/cabal
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Oct 04, 2012
@igfoo igfoo Conditionally turn on dynamic-executable by default
If the compiler builds dynamic things by default, then so does Cabal.
09f9c47
Commits on Oct 05, 2012
@igfoo igfoo Merge branch 'master' of github.com:haskell/cabal 31c3f40
View
6 Cabal/Distribution/Simple/Configure.hs
@@ -532,7 +532,7 @@ configure (pkg_descr0, pbi) cfg
++ intercalate " depends on "
(map (\(_,k,_) -> "'" ++ k ++ "'") (vs ++ [head vs]))
- withSharedLibDefault <-
+ sharedLibsByDefault <-
case compilerId comp of
CompilerId GHC _ ->
case lookupProgram ghcProgram programsConfig''' of
@@ -566,8 +566,8 @@ configure (pkg_descr0, pbi) cfg
withPrograms = programsConfig''',
withVanillaLib = fromFlag $ configVanillaLib cfg,
withProfLib = fromFlag $ configProfLib cfg,
- withSharedLib = fromFlagOrDefault withSharedLibDefault $ configSharedLib cfg,
- withDynExe = fromFlag $ configDynExe cfg,
+ withSharedLib = fromFlagOrDefault sharedLibsByDefault $ configSharedLib cfg,
+ withDynExe = fromFlagOrDefault sharedLibsByDefault $ configDynExe cfg,
withProfExe = fromFlag $ configProfExe cfg,
withOptimization = fromFlag $ configOptimization cfg,
withGHCiLib = fromFlag $ configGHCiLib cfg,
View
2  Cabal/Distribution/Simple/Setup.hs
@@ -305,7 +305,7 @@ defaultConfigFlags progConf = emptyConfigFlags {
configVanillaLib = Flag True,
configProfLib = Flag False,
configSharedLib = NoFlag,
- configDynExe = Flag False,
+ configDynExe = NoFlag,
configProfExe = Flag False,
configOptimization = Flag NormalOptimisation,
configProgPrefix = Flag (toPathTemplate ""),

No commit comments for this range

Something went wrong with that request. Please try again.