don't try to pull in libmagic on windows
May be possible to install the library somehow, but it certainly won't be available normally, and so cabal will fail to install magic.
This commit is contained in:
parent
540a0343ba
commit
65c1003bf5
1 changed files with 3 additions and 2 deletions
|
@ -230,8 +230,9 @@ Executable git-annex
|
|||
CPP-Options: -DWITH_TORRENTPARSER
|
||||
|
||||
if flag(MagicMime)
|
||||
Build-Depends: magic
|
||||
CPP-Options: -DWITH_MAGICMIME
|
||||
if (! os(windows))
|
||||
Build-Depends: magic
|
||||
CPP-Options: -DWITH_MAGICMIME
|
||||
|
||||
if flag(ConcurrentOutput)
|
||||
Build-Depends: concurrent-output (>= 1.6)
|
||||
|
|
Loading…
Reference in a new issue