avoid build depending on unix in windows
This commit is contained in:
parent
07b0bf4cee
commit
e5f1ca7b4b
1 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,7 @@ Flag TDFA
|
|||
Executable git-annex
|
||||
Main-Is: git-annex.hs
|
||||
Build-Depends: MissingH, hslogger, directory, filepath,
|
||||
unix, containers, utf8-string, network (>= 2.0), mtl (>= 2),
|
||||
containers, utf8-string, network (>= 2.0), mtl (>= 2),
|
||||
bytestring, old-locale, time, HTTP,
|
||||
extensible-exceptions, dataenc, SHA, process, json,
|
||||
base (>= 4.5 && < 4.8), monad-control, transformers-base, lifted-base,
|
||||
|
@ -88,6 +88,8 @@ Executable git-annex
|
|||
|
||||
if os(windows)
|
||||
CPP-Options: -D__WINDOWS__
|
||||
else
|
||||
Build-Depends: unix
|
||||
|
||||
if flag(TestSuite)
|
||||
Build-Depends: HUnit
|
||||
|
|
Loading…
Reference in a new issue