Add build-depends: rts for correct dynamic library linking
[ghc-prim.git] / ghc-prim.cabal
1 name:           ghc-prim
2 version:        0.1.0.0
3 license:        BSD3
4 license-file:   LICENSE
5 maintainer:     libraries@haskell.org
6 synopsis:       GHC primitives
7 description:
8     GHC primitives.
9 cabal-version:  >=1.2
10 build-type: Custom
11
12 Library {
13     build-depends: rts
14     exposed-modules:
15         GHC.Bool
16         GHC.Generics
17         GHC.Ordering
18         GHC.PrimopWrappers
19         GHC.IntWord32
20         GHC.IntWord64
21         GHC.Tuple
22         GHC.Types
23         GHC.Unit
24     c-sources:
25         cbits/longlong.c
26     extensions: CPP, MagicHash, ForeignFunctionInterface, UnliftedFFITypes,
27                 UnboxedTuples, EmptyDataDecls, NoImplicitPrelude
28     -- We need to set the package name to ghc-prim (without a version number)
29     -- as it's magic.
30     ghc-options: -package-name ghc-prim
31 }