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:
Joey Hess 2016-02-15 15:05:31 -04:00
parent 540a0343ba
commit 65c1003bf5
Failed to extract signature

View file

@ -230,8 +230,9 @@ Executable git-annex
CPP-Options: -DWITH_TORRENTPARSER CPP-Options: -DWITH_TORRENTPARSER
if flag(MagicMime) if flag(MagicMime)
Build-Depends: magic if (! os(windows))
CPP-Options: -DWITH_MAGICMIME Build-Depends: magic
CPP-Options: -DWITH_MAGICMIME
if flag(ConcurrentOutput) if flag(ConcurrentOutput)
Build-Depends: concurrent-output (>= 1.6) Build-Depends: concurrent-output (>= 1.6)