mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
gf.cabal: when compiling with ghc>=7.8 require cgi>=3001.2.2.0
This commit is contained in:
8
gf.cabal
8
gf.cabal
@@ -255,8 +255,12 @@ Library
|
|||||||
cpp-options: -DC_RUNTIME
|
cpp-options: -DC_RUNTIME
|
||||||
|
|
||||||
if flag(server)
|
if flag(server)
|
||||||
build-depends: httpd-shed>=0.4.0.2, network>=2.3 && <2.6, json, cgi
|
build-depends: httpd-shed>=0.4.0.2, network>=2.3 && <2.6, json
|
||||||
-- ,silently
|
if impl(ghc>=7.8)
|
||||||
|
build-depends: cgi>=3001.2.2.0
|
||||||
|
else
|
||||||
|
build-depends: cgi
|
||||||
|
|
||||||
cpp-options: -DSERVER_MODE
|
cpp-options: -DSERVER_MODE
|
||||||
other-modules:
|
other-modules:
|
||||||
GF.Server
|
GF.Server
|
||||||
|
|||||||
Reference in New Issue
Block a user