summaryrefslogtreecommitdiff
path: root/src/server/pgf-server.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/pgf-server.cabal')
-rw-r--r--src/server/pgf-server.cabal5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/pgf-server.cabal b/src/server/pgf-server.cabal
index f20d61a47..5e6301338 100644
--- a/src/server/pgf-server.cabal
+++ b/src/server/pgf-server.cabal
@@ -9,7 +9,6 @@ synopsis: FastCGI Server for Grammatical Framework
executable pgf.fcgi
build-depends: base,
old-time,
- unix,
directory,
filepath,
containers,
@@ -18,9 +17,13 @@ executable pgf.fcgi
fastcgi >= 3001.0.2.1,
json >= 0.3.3,
utf8-string >= 0.3.1.1
+ if !os(windows)
+ build-depends: unix
main-is: PGFService.hs
other-modules:
FastCGIUtils
Cache
URLEncoding
ghc-options: -threaded
+ if os(windows)
+ ghc-options: -optl-mwindows