Fix the build with GHC 6.4.2
authorIan Lynagh <igloo@earth.li>
Wed, 16 Jul 2008 19:28:36 +0000 (19:28 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 16 Jul 2008 19:28:36 +0000 (19:28 +0000)
compiler/ghc.cabal

index 1d3df54..2bb88fd 100644 (file)
@@ -61,6 +61,10 @@ Library
         CPP-Options: -DGHCI
         Include-Dirs: ../libffi/build/include
 
+    -- GHC 6.4.2 needs to be able to find WCsubst.c, which needs to be
+    -- able to find WCsubst.h
+    Include-Dirs: ../libraries/base/cbits, ../libraries/base/include
+
     Extensions: CPP, MagicHash, UnboxedTuples, PatternGuards,
                 ForeignFunctionInterface, EmptyDataDecls,
                 TypeSynonymInstances, MultiParamTypeClasses,