summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-01-06 10:44:56 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2016-01-06 10:44:56 -0800
commit363ecfebc32c6fe15d81634422e8607847f588fb (patch)
tree72e0c248d5fc8847457724764c7900df9a8a5e92 /pandoc.cabal
parent73d1175838ca3ab5cb70de92adf691a471602408 (diff)
Make file globbing work on windows.
Windows cmd doesn't expand wildcards; the application has to do this. So on windows we use 'glob' to expand.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index e0b4f6021..c52b30d3f 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -300,7 +300,8 @@ Library
Build-Tools: hsb2hs >= 0.3.1
other-modules: Text.Pandoc.Data
if os(windows)
- Cpp-options: -D_WINDOWS
+ Cpp-options: -D_WINDOWS
+ Build-depends: Glob >= 0.7 && < 0.8
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
Ghc-Prof-Options: -fprof-auto-exported -rtsopts
Default-Language: Haskell98