Some -dynamic-too fixes
[ghc.git] / compiler / ghc.cabal.in
index a9dd62b..a69e25e 100644 (file)
@@ -20,11 +20,6 @@ Category: Development
 Build-Type: Simple
 Cabal-Version: >= 1.2.3
 
-Flag dynlibs
-    Description: Dynamic library support
-    Default: False
-    Manual: True
-
 Flag ghci
     Description: Build GHCi support.
     Default: False
@@ -57,7 +52,8 @@ Library
                    array      >= 0.1 && < 0.5,
                    filepath   >= 1   && < 1.4,
                    Cabal,
-                   hpc
+                   hpc,
+                   transformers
 
     if flag(stage1) && impl(ghc < 7.5)
         Build-Depends: old-time   >= 1   && < 1.2
@@ -101,9 +97,8 @@ Library
     c-sources:
         parser/cutils.c
 
-    if flag(dynlibs)
-        c-sources:
-            ghci/keepCAFsForGHCi.c
+    c-sources:
+        ghci/keepCAFsForGHCi.c
 
     hs-source-dirs:
         basicTypes
@@ -294,9 +289,9 @@ Library
         InteractiveEval
         PackageConfig
         Packages
+        PlatformConstants
         PprTyThing
         StaticFlags
-        StaticFlagParser
         SysTools
         TidyPgm
         Ctype
@@ -368,6 +363,7 @@ Library
         TcHsType
         TcInstDcls
         TcMType
+        TcValidity
         TcMatches
         TcPat
         TcRnDriver
@@ -390,6 +386,7 @@ Library
         FunDeps
         InstEnv
         TyCon
+        CoAxiom
         Kind
         Type
         TypeRep