diff options
author | Ian Lynagh <igloo@earth.li> | 2009-07-21 18:53:02 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-07-21 18:53:02 +0000 |
commit | 7d28e54c8ec756b9f62fb32c265b3479a3e81868 (patch) | |
tree | 35375d9a997c227524bf26b2d0bbe5eb29561256 /libraries/integer-gmp/integer-gmp.cabal | |
parent | f20d8c1ba66217218a40c8419df92adfd13ae0fd (diff) | |
download | haskell-7d28e54c8ec756b9f62fb32c265b3479a3e81868.tar.gz |
Make integer-gmp suitable to be used directly, rather than via integer
Diffstat (limited to 'libraries/integer-gmp/integer-gmp.cabal')
-rw-r--r-- | libraries/integer-gmp/integer-gmp.cabal | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/integer-gmp/integer-gmp.cabal b/libraries/integer-gmp/integer-gmp.cabal index 5c323db5b2..480c734833 100644 --- a/libraries/integer-gmp/integer-gmp.cabal +++ b/libraries/integer-gmp/integer-gmp.cabal @@ -21,9 +21,13 @@ source-repository head Library { build-depends: ghc-prim - exposed-modules: GHC.Integer.GMP + exposed-modules: GHC.Integer GHC.Integer.GMP.Internals - extensions: CPP, MagicHash, UnboxedTuples, + other-modules: GHC.Integer.Type + extensions: CPP, MagicHash, UnboxedTuples, NoImplicitPrelude, ForeignFunctionInterface, UnliftedFFITypes c-sources: cbits/cbits.c + -- We need to set the package name to integer-gmp + -- (without a version number) as it's magic. + ghc-options: -package-name integer-gmp } |