diff options
author | david.waern <david.waern@gmail.com> | 2010-03-20 00:56:30 +0000 |
---|---|---|
committer | david.waern <david.waern@gmail.com> | 2010-03-20 00:56:30 +0000 |
commit | 8771bb0a27598470f034c93128ac6848180f76b1 (patch) | |
tree | 089e715eedc4853c665a35c5de2622f934a5221b | |
parent | 0ce3d24017a44fc76c442ffd6246ce8eeaa001f1 (diff) |
Fix library part of cabal file when in ghc tree
-rw-r--r-- | haddock.cabal | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/haddock.cabal b/haddock.cabal index 6663fba2..706bcd75 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -132,8 +132,13 @@ library containers, array, Cabal >= 1.5, - ghc >= 6.12 && < 6.14, - ghc-paths + ghc >= 6.12 && < 6.14 + + if flag(in-ghc-tree) + cpp-options: -DIN_GHC_TREE + extensions: ForeignFunctionInterface + else + build-depends: ghc-paths if flag(test) cpp-options: -DTEST |