summaryrefslogtreecommitdiff
path: root/ghc-gc-hook.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'ghc-gc-hook.cabal')
-rw-r--r--ghc-gc-hook.cabal8
1 files changed, 5 insertions, 3 deletions
diff --git a/ghc-gc-hook.cabal b/ghc-gc-hook.cabal
index 0d6884d..0865edc 100644
--- a/ghc-gc-hook.cabal
+++ b/ghc-gc-hook.cabal
@@ -1,7 +1,7 @@
cabal-version: 2.0
name: ghc-gc-hook
synopsis: GHC garbage collection hook
-version: 0.1.0.0
+version: 0.2.0.0
category: GHC
license: MIT
author: Tom Smeding
@@ -11,11 +11,11 @@ build-type: Simple
library
exposed-modules:
GHC.GC_Hook
+ hs-source-dirs: src
c-sources: cbits/hook.c
build-depends:
base >= 4.13 && < 4.17,
clock
- hs-source-dirs: src
default-language: Haskell2010
cc-options: -Wall
ghc-options: -Wall
@@ -24,9 +24,11 @@ test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
+ c-sources: test/cbits/testhook.c
build-depends:
base >= 4.13 && < 4.17,
- ghc-gc-hook
+ ghc-gc-hook,
+ clock
default-language: Haskell2010
ghc-options: -Wall -threaded