summaryrefslogtreecommitdiff
path: root/gf.cabal
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-11-05 15:38:10 +0000
committerhallgren <hallgren@chalmers.se>2014-11-05 15:38:10 +0000
commitad36dbc0ed035646650f0a1ea4ada18c5e81721a (patch)
tree710394c522523aaa2e595d1e61fb93eac9c20be8 /gf.cabal
parent70c70fa791ef1d1e2349095ea661508db664ca97 (diff)
gf.cabal: when compiling with ghc>=7.8 require cgi>=3001.2.2.0
Diffstat (limited to 'gf.cabal')
-rw-r--r--gf.cabal8
1 files changed, 6 insertions, 2 deletions
diff --git a/gf.cabal b/gf.cabal
index ce1c24f0a..370ca8cd8 100644
--- a/gf.cabal
+++ b/gf.cabal
@@ -255,8 +255,12 @@ Library
cpp-options: -DC_RUNTIME
if flag(server)
- build-depends: httpd-shed>=0.4.0.2, network>=2.3 && <2.6, json, cgi
- -- ,silently
+ build-depends: httpd-shed>=0.4.0.2, network>=2.3 && <2.6, json
+ if impl(ghc>=7.8)
+ build-depends: cgi>=3001.2.2.0
+ else
+ build-depends: cgi
+
cpp-options: -DSERVER_MODE
other-modules:
GF.Server