summaryrefslogtreecommitdiff
path: root/bittorrent.cabal
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2016-12-31 23:43:09 -0500
committerjoe <joe@jerkface.net>2016-12-31 23:43:09 -0500
commitb0cb559c503e791c2a2297a6316d59dab6c49202 (patch)
treec35c315fa76233e174577215f553661c50534e1e /bittorrent.cabal
parent7e873c2313a50a54d9fe9f96272a640e4e4ea0f9 (diff)
Fix build of examples.
Diffstat (limited to 'bittorrent.cabal')
-rw-r--r--bittorrent.cabal6
1 files changed, 5 insertions, 1 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index a09d4530..600b2587 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -313,12 +313,16 @@ executable mktorrent
313 , lifted-async 313 , lifted-async
314 , parallel-io 314 , parallel-io
315 315
316 , network
317 , bittorrent 316 , bittorrent
318 317
319 , filepath 318 , filepath
320 , optparse-applicative 319 , optparse-applicative
321 , hslogger 320 , hslogger
321 if flag(network-uri)
322 Build-depends: network >= 2.6
323 , network-uri >= 2.6
324 else
325 Build-depends: network >= 2.4 && < 2.6
322 ghc-options: -Wall -O2 -threaded 326 ghc-options: -Wall -O2 -threaded
323 327
324-- nonfunctioning example of very basic bittorrent client 328-- nonfunctioning example of very basic bittorrent client