Add build-depends: rts for correct dynamic library linking
[ghc-prim.git] / ghc-prim.cabal
index 0ef7a17..7bbf523 100644 (file)
@@ -1,5 +1,5 @@
 name:           ghc-prim
-version:        0.1
+version:        0.1.0.0
 license:        BSD3
 license-file:   LICENSE
 maintainer:     libraries@haskell.org
@@ -10,6 +10,7 @@ cabal-version:  >=1.2
 build-type: Custom
 
 Library {
+    build-depends: rts
     exposed-modules:
         GHC.Bool
         GHC.Generics
@@ -18,10 +19,12 @@ Library {
         GHC.IntWord32
         GHC.IntWord64
         GHC.Tuple
+        GHC.Types
         GHC.Unit
     c-sources:
         cbits/longlong.c
-    extensions: CPP, MagicHash, ForeignFunctionInterface, UnliftedFFITypes
+    extensions: CPP, MagicHash, ForeignFunctionInterface, UnliftedFFITypes,
+                UnboxedTuples, EmptyDataDecls, NoImplicitPrelude
     -- We need to set the package name to ghc-prim (without a version number)
     -- as it's magic.
     ghc-options: -package-name ghc-prim