From 83199be6cc49b895f76de66b46f7ebe5d168b5f6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 15 Feb 2016 15:05:31 -0400 Subject: 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. --- git-annex.cabal | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'git-annex.cabal') diff --git a/git-annex.cabal b/git-annex.cabal index fa496d8e0..2a647ac9f 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -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) -- cgit v1.2.3