From 7d28e54c8ec756b9f62fb32c265b3479a3e81868 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 21 Jul 2009 18:53:02 +0000 Subject: Make integer-gmp suitable to be used directly, rather than via integer --- libraries/integer-gmp/integer-gmp.cabal | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libraries/integer-gmp/integer-gmp.cabal') 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 } -- cgit v1.2.1